Package com.db4o.qlin
Class QLinSupport
- java.lang.Object
-
- com.db4o.qlin.QLinSupport
-
public class QLinSupport extends java.lang.Objectstatic import support class forQLinqueries.- Since:
- 8.0
-
-
Constructor Summary
Constructors Constructor Description QLinSupport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QLinOrderByDirectionascending()parameter forQLin.orderBy(Object, QLinOrderByDirection)static Iterator4<java.lang.String>backingFieldPath(java.lang.Object expression)public for implementors, do not use directlystatic voidcontext(ReflectClass claxx)sets the context for the next query on this thread.static voidcontext(java.lang.Class clazz)sets the context for the next query on this thread.static QLinOrderByDirectiondescending()parameter forQLin.orderBy(Object, QLinOrderByDirection)static ReflectFieldfield(java.lang.Object expression)converts an expression to a single field.static <T> Tp(java.lang.Class<T> clazz)shortcut for theprototype(Class)method.static <T> Tprototype(java.lang.Class<T> clazz)returns a prototype object for a specific class to be passed to the where expression of a QLin query.
-
-
-
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 theprototype(Class)method.
-
ascending
public static QLinOrderByDirection ascending()
parameter forQLin.orderBy(Object, QLinOrderByDirection)
-
descending
public static QLinOrderByDirection descending()
parameter forQLin.orderBy(Object, QLinOrderByDirection)
-
backingFieldPath
public static 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.
-
-