Class PScalarComparable<R,D extends Comparable<D>>

Type Parameters:
R - the root query bean type
D - the scalar type
All Implemented Interfaces:
io.ebean.Query.Property<D>

public final class PScalarComparable<R,D extends Comparable<D>> extends PBaseComparable<R,D>
Property for classes that are serialized/deserialized by ScalarType/AttributeConverter. If the classes are comparable, it is assumed that the database can compare the serialized values too.
  • Constructor Details

    • PScalarComparable

      public PScalarComparable(String name, R root)
      Construct with a property name and root instance.
      Parameters:
      name - property name
      root - the root query bean instance
    • PScalarComparable

      public PScalarComparable(String name, R root, String prefix)
      Construct with additional path prefix.