db4o 8.0

com.db4o.qlin
Class QLinSupport

java.lang.Object
  extended by com.db4o.qlin.QLinSupport

public class QLinSupport
extends java.lang.Object

static import support class for QLin queries.

Since:
8.0

Constructor Summary
QLinSupport()
           
 
Method Summary
static com.db4o.qlin.QLinOrderByDirection ascending()
          parameter for QLin.orderBy(Object, QLinOrderByDirection)
static com.db4o.foundation.Iterator4<java.lang.String> backingFieldPath(java.lang.Object expression)
          public for implementors, do not use directly
static void context(java.lang.Class clazz)
          sets the context for the next query on this thread.
static void context(ReflectClass claxx)
          sets the context for the next query on this thread.
static com.db4o.qlin.QLinOrderByDirection descending()
          parameter for QLin.orderBy(Object, QLinOrderByDirection)
static ReflectField field(java.lang.Object expression)
          converts an expression to a single field.
static
<T> T
p(java.lang.Class<T> clazz)
          shortcut for the prototype(Class) method.
static
<T> T
prototype(java.lang.Class<T> clazz)
          returns a prototype object for a specific class to be passed to the where expression of a QLin query.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QLinSupport

public QLinSupport()
Method Detail

prototype

public static <T> T prototype(java.lang.Class<T> clazz)
returns a prototype object for a specific class to be passed to the where expression of a QLin query.

See Also:
QLin.where(Object)

context

public static void context(ReflectClass claxx)
sets the context for the next query on this thread. This method should never have to be called manually. The framework should set the context up.


context

public static void context(java.lang.Class clazz)
sets the context for the next query on this thread. This method should never have to be called manually. The framework should set the context up.


p

public static <T> T p(java.lang.Class<T> clazz)
shortcut for the prototype(Class) method.


ascending

public static com.db4o.qlin.QLinOrderByDirection ascending()
parameter for QLin.orderBy(Object, QLinOrderByDirection)


descending

public static com.db4o.qlin.QLinOrderByDirection descending()
parameter for QLin.orderBy(Object, QLinOrderByDirection)


backingFieldPath

public static com.db4o.foundation.Iterator4<java.lang.String> backingFieldPath(java.lang.Object expression)
public for implementors, do not use directly


field

public static ReflectField field(java.lang.Object expression)
converts an expression to a single field.


db4o 8.0

Copyright 2009 Versant Corporation. All rights reserved.