Package com.db4o.qlin

Class QLinSupport


  • public class QLinSupport
    extends java.lang.Object
    static import support class for QLin queries.
    Since:
    8.0
    • 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.
      • 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.