Class Property<ENTITY>
- java.lang.Object
-
- io.objectbox.Property<ENTITY>
-
- All Implemented Interfaces:
java.io.Serializable
public class Property<ENTITY> extends java.lang.Object implements java.io.Serializable
Meta data describing a Property of an ObjectBox Entity. Properties are typically used when definingQuery
conditions usingQueryBuilder
. Access properties using the generated underscore class of an entity (e.g.Example_.id
).- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Class<? extends PropertyConverter>
converterClass
java.lang.Class<?>
customType
Type, which is converted to a type supported by the DB.java.lang.String
dbName
EntityInfo<ENTITY>
entity
int
id
boolean
isId
boolean
isVirtual
java.lang.String
name
int
ordinal
java.lang.Class<?>
type
One of the supported types to be mapped to the DB.
-
Constructor Summary
Constructors Constructor Description Property(EntityInfo<ENTITY> entity, int ordinal, int id, java.lang.Class<?> type, java.lang.String name)
Property(EntityInfo<ENTITY> entity, int ordinal, int id, java.lang.Class<?> type, java.lang.String name, boolean isVirtual)
Property(EntityInfo<ENTITY> entity, int ordinal, int id, java.lang.Class<?> type, java.lang.String name, boolean isId, boolean isVirtual, java.lang.String dbName, java.lang.Class<? extends PropertyConverter> converterClass, java.lang.Class<?> customType)
Property(EntityInfo<ENTITY> entity, int ordinal, int id, java.lang.Class<?> type, java.lang.String name, boolean isId, java.lang.String dbName)
Property(EntityInfo<ENTITY> entity, int ordinal, int id, java.lang.Class<?> type, java.lang.String name, boolean isId, java.lang.String dbName, java.lang.Class<? extends PropertyConverter> converterClass, java.lang.Class<?> customType)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PropertyQueryCondition<ENTITY>
between(double lowerBoundary, double upperBoundary)
Creates a "BETWEEN ...PropertyQueryCondition<ENTITY>
between(int lowerBoundary, int upperBoundary)
Creates a "BETWEEN ...PropertyQueryCondition<ENTITY>
between(long lowerBoundary, long upperBoundary)
Creates a "BETWEEN ...PropertyQueryCondition<ENTITY>
between(short lowerBoundary, short upperBoundary)
Creates a "BETWEEN ...PropertyQueryCondition<ENTITY>
between(java.util.Date lowerBoundary, java.util.Date upperBoundary)
Creates a "BETWEEN ...PropertyQueryCondition<ENTITY>
contains(java.lang.String value)
Creates a contains condition for this property usingStringOrder#CASE_SENSITIVE
.PropertyQueryCondition<ENTITY>
contains(java.lang.String value, QueryBuilder.StringOrder order)
PropertyQueryCondition<ENTITY>
containsElement(java.lang.String value)
For a String array, list or String-key map property, matches if at least one element equals the given value usingStringOrder#CASE_SENSITIVE
.PropertyQueryCondition<ENTITY>
containsElement(java.lang.String value, QueryBuilder.StringOrder order)
PropertyQueryCondition<ENTITY>
containsKeyValue(java.lang.String key, java.lang.String value)
For a String-key map property, matches if at least one key and value combination equals the given values usingStringOrder#CASE_SENSITIVE
.PropertyQueryCondition<ENTITY>
containsKeyValue(java.lang.String key, java.lang.String value, QueryBuilder.StringOrder order)
PropertyQueryCondition<ENTITY>
endsWith(java.lang.String value)
Creates an ends with condition usingStringOrder#CASE_SENSITIVE
.PropertyQueryCondition<ENTITY>
endsWith(java.lang.String value, QueryBuilder.StringOrder order)
PropertyQueryCondition<ENTITY>
eq(java.lang.Object value)
Deprecated.Useequal(boolean)
instead.PropertyQueryCondition<ENTITY>
equal(boolean value)
Creates an "equal ('=')" condition for this property.PropertyQueryCondition<ENTITY>
equal(byte[] value)
Creates an "equal ('=')" condition for this property.PropertyQueryCondition<ENTITY>
equal(double value, double tolerance)
Callsbetween(double, double)
withvalue - tolerance
as lower bound andvalue + tolerance
as upper bound.PropertyQueryCondition<ENTITY>
equal(int value)
Creates an "equal ('=')" condition for this property.PropertyQueryCondition<ENTITY>
equal(long value)
Creates an "equal ('=')" condition for this property.PropertyQueryCondition<ENTITY>
equal(short value)
Creates an "equal ('=')" condition for this property.PropertyQueryCondition<ENTITY>
equal(java.lang.String value)
Creates an "equal ('=')" condition for this property usingStringOrder#CASE_SENSITIVE
.PropertyQueryCondition<ENTITY>
equal(java.lang.String value, QueryBuilder.StringOrder order)
Creates an "equal ('=')" condition for this property.PropertyQueryCondition<ENTITY>
equal(java.util.Date value)
Creates an "equal ('=')" condition for this property.int
getEntityId()
int
getId()
PropertyQueryCondition<ENTITY>
greater(byte[] value)
Creates a "greater than ('>')" condition for this property.PropertyQueryCondition<ENTITY>
greater(double value)
Creates a "greater than ('>')" condition for this property.PropertyQueryCondition<ENTITY>
greater(int value)
Creates a "greater than ('>')" condition for this property.PropertyQueryCondition<ENTITY>
greater(long value)
Creates a "greater than ('>')" condition for this property.PropertyQueryCondition<ENTITY>
greater(short value)
Creates a "greater than ('>')" condition for this property.PropertyQueryCondition<ENTITY>
greater(java.lang.String value)
Creates a "greater than ('>')" condition for this property usingStringOrder#CASE_SENSITIVE
.PropertyQueryCondition<ENTITY>
greater(java.lang.String value, QueryBuilder.StringOrder order)
Creates a "greater than ('>')" condition for this property.PropertyQueryCondition<ENTITY>
greater(java.util.Date value)
Creates a "greater than ('>')" condition for this property.PropertyQueryCondition<ENTITY>
greaterOrEqual(byte[] value)
Creates a "greater or equal ('>=')" condition for this property.PropertyQueryCondition<ENTITY>
greaterOrEqual(double value)
Creates a "greater or equal ('>=')" condition for this property.PropertyQueryCondition<ENTITY>
greaterOrEqual(int value)
Creates a "greater or equal ('>=')" condition for this property.PropertyQueryCondition<ENTITY>
greaterOrEqual(long value)
Creates a "greater or equal ('>=')" condition for this property.PropertyQueryCondition<ENTITY>
greaterOrEqual(short value)
Creates a "greater or equal ('>=')" condition for this property.PropertyQueryCondition<ENTITY>
greaterOrEqual(java.lang.String value, QueryBuilder.StringOrder order)
Creates a "greater or equal ('>=')" condition for this property.PropertyQueryCondition<ENTITY>
greaterOrEqual(java.util.Date value)
Creates a "greater or equal ('>=')" condition for this property.PropertyQueryCondition<ENTITY>
gt(java.lang.Object value)
Deprecated.Usegreater(short)
instead.PropertyQueryCondition<ENTITY>
in(java.lang.Object... values)
Deprecated.UseoneOf(int[])
instead.PropertyQueryCondition<ENTITY>
in(java.util.Collection<?> inValues)
Deprecated.UseoneOf(int[])
instead.PropertyQueryCondition<ENTITY>
isNotNull()
Deprecated.UsenotNull()
instead.PropertyQueryCondition<ENTITY>
isNull()
Creates an "IS NULL" condition for this property.PropertyQueryCondition<ENTITY>
less(byte[] value)
Creates a "less than ('<')" condition for this property.PropertyQueryCondition<ENTITY>
less(double value)
Creates a "less than ('<')" condition for this property.PropertyQueryCondition<ENTITY>
less(int value)
Creates a "less than ('<')" condition for this property.PropertyQueryCondition<ENTITY>
less(long value)
Creates a "less than ('<')" condition for this property.PropertyQueryCondition<ENTITY>
less(short value)
Creates a "less than ('<')" condition for this property.PropertyQueryCondition<ENTITY>
less(java.lang.String value)
Creates a "less than ('<')" condition for this property usingStringOrder#CASE_SENSITIVE
.PropertyQueryCondition<ENTITY>
less(java.lang.String value, QueryBuilder.StringOrder order)
Creates a "less than ('<')" condition for this property.PropertyQueryCondition<ENTITY>
less(java.util.Date value)
Creates a "less than ('<')" condition for this property.PropertyQueryCondition<ENTITY>
lessOrEqual(byte[] value)
Creates a "less or equal ('<=')" condition for this property.PropertyQueryCondition<ENTITY>
lessOrEqual(double value)
Creates a "less or equal ('<=')" condition for this property.PropertyQueryCondition<ENTITY>
lessOrEqual(int value)
Creates a "less or equal ('<=')" condition for this property.PropertyQueryCondition<ENTITY>
lessOrEqual(long value)
Creates a "less or equal ('<=')" condition for this property.PropertyQueryCondition<ENTITY>
lessOrEqual(short value)
Creates a "less or equal ('<=')" condition for this property.PropertyQueryCondition<ENTITY>
lessOrEqual(java.lang.String value, QueryBuilder.StringOrder order)
Creates a "less or equal ('<=')" condition for this property.PropertyQueryCondition<ENTITY>
lessOrEqual(java.util.Date value)
Creates a "less or equal ('<=')" condition for this property.PropertyQueryCondition<ENTITY>
lt(java.lang.Object value)
Deprecated.Useless(short)
instead.PropertyQueryCondition<ENTITY>
nearestNeighbors(float[] queryVector, int maxResultCount)
Performs an approximate nearest neighbor (ANN) search to find objects near to the givenqueryVector
.PropertyQueryCondition<ENTITY>
notEq(java.lang.Object value)
Deprecated.UsenotEqual(boolean)
instead.PropertyQueryCondition<ENTITY>
notEqual(boolean value)
Creates a "not equal ('<>')" condition for this property.PropertyQueryCondition<ENTITY>
notEqual(int value)
Creates a "not equal ('<>')" condition for this property.PropertyQueryCondition<ENTITY>
notEqual(long value)
Creates a "not equal ('<>')" condition for this property.PropertyQueryCondition<ENTITY>
notEqual(short value)
Creates a "not equal ('<>')" condition for this property.PropertyQueryCondition<ENTITY>
notEqual(java.lang.String value)
Creates a "not equal ('<>')" condition for this property usingStringOrder#CASE_SENSITIVE
.PropertyQueryCondition<ENTITY>
notEqual(java.lang.String value, QueryBuilder.StringOrder order)
Creates a "not equal ('<>')" condition for this property.PropertyQueryCondition<ENTITY>
notEqual(java.util.Date value)
Creates a "not equal ('<>')" condition for this property.PropertyQueryCondition<ENTITY>
notNull()
Creates an "IS NOT NULL" condition for this property.PropertyQueryCondition<ENTITY>
notOneOf(int[] values)
Creates a "NOT IN (..., ..., ...)" condition for this property.PropertyQueryCondition<ENTITY>
notOneOf(long[] values)
Creates a "NOT IN (..., ..., ...)" condition for this property.PropertyQueryCondition<ENTITY>
notOneOf(java.util.Date[] value)
Creates a "NOT IN (..., ..., ...)" condition for this property.PropertyQueryCondition<ENTITY>
oneOf(int[] values)
Creates an "IN (..., ..., ...)" condition for this property.PropertyQueryCondition<ENTITY>
oneOf(long[] values)
Creates an "IN (..., ..., ...)" condition for this property.PropertyQueryCondition<ENTITY>
oneOf(java.lang.String[] values)
Creates an "IN (..., ..., ...)" condition for this property usingStringOrder#CASE_SENSITIVE
.PropertyQueryCondition<ENTITY>
oneOf(java.lang.String[] values, QueryBuilder.StringOrder order)
Creates an "IN (..., ..., ...)" condition for this property.PropertyQueryCondition<ENTITY>
oneOf(java.util.Date[] value)
Creates an "IN (..., ..., ...)" condition for this property.PropertyQueryCondition<ENTITY>
startsWith(java.lang.String value)
Creates a starts with condition usingStringOrder#CASE_SENSITIVE
.PropertyQueryCondition<ENTITY>
startsWith(java.lang.String value, QueryBuilder.StringOrder order)
java.lang.String
toString()
-
-
-
Field Detail
-
entity
public final EntityInfo<ENTITY> entity
-
ordinal
public final int ordinal
-
id
public final int id
-
type
public final java.lang.Class<?> type
One of the supported types to be mapped to the DB.
-
name
public final java.lang.String name
-
isId
public final boolean isId
-
isVirtual
public final boolean isVirtual
-
dbName
public final java.lang.String dbName
-
converterClass
public final java.lang.Class<? extends PropertyConverter> converterClass
-
customType
public final java.lang.Class<?> customType
Type, which is converted to a type supported by the DB.
-
-
Constructor Detail
-
Property
public Property(EntityInfo<ENTITY> entity, int ordinal, int id, java.lang.Class<?> type, java.lang.String name)
-
Property
public Property(EntityInfo<ENTITY> entity, int ordinal, int id, java.lang.Class<?> type, java.lang.String name, boolean isVirtual)
-
Property
public Property(EntityInfo<ENTITY> entity, int ordinal, int id, java.lang.Class<?> type, java.lang.String name, boolean isId, @Nullable java.lang.String dbName)
-
Property
public Property(EntityInfo<ENTITY> entity, int ordinal, int id, java.lang.Class<?> type, java.lang.String name, boolean isId, @Nullable java.lang.String dbName, @Nullable java.lang.Class<? extends PropertyConverter> converterClass, @Nullable java.lang.Class<?> customType)
-
Property
public Property(EntityInfo<ENTITY> entity, int ordinal, int id, java.lang.Class<?> type, java.lang.String name, boolean isId, boolean isVirtual, @Nullable java.lang.String dbName, @Nullable java.lang.Class<? extends PropertyConverter> converterClass, @Nullable java.lang.Class<?> customType)
-
-
Method Detail
-
isNull
public PropertyQueryCondition<ENTITY> isNull()
Creates an "IS NULL" condition for this property.
-
notNull
public PropertyQueryCondition<ENTITY> notNull()
Creates an "IS NOT NULL" condition for this property.
-
equal
public PropertyQueryCondition<ENTITY> equal(boolean value)
Creates an "equal ('=')" condition for this property.
-
notEqual
public PropertyQueryCondition<ENTITY> notEqual(boolean value)
Creates a "not equal ('<>')" condition for this property.
-
equal
public PropertyQueryCondition<ENTITY> equal(short value)
Creates an "equal ('=')" condition for this property.
-
notEqual
public PropertyQueryCondition<ENTITY> notEqual(short value)
Creates a "not equal ('<>')" condition for this property.
-
greater
public PropertyQueryCondition<ENTITY> greater(short value)
Creates a "greater than ('>')" condition for this property.
-
greaterOrEqual
public PropertyQueryCondition<ENTITY> greaterOrEqual(short value)
Creates a "greater or equal ('>=')" condition for this property.
-
less
public PropertyQueryCondition<ENTITY> less(short value)
Creates a "less than ('<')" condition for this property.
-
lessOrEqual
public PropertyQueryCondition<ENTITY> lessOrEqual(short value)
Creates a "less or equal ('<=')" condition for this property.
-
between
public PropertyQueryCondition<ENTITY> between(short lowerBoundary, short upperBoundary)
Creates a "BETWEEN ... AND ..." condition for this property. Finds objects with property value between and including the first and second value.
-
equal
public PropertyQueryCondition<ENTITY> equal(int value)
Creates an "equal ('=')" condition for this property.
-
notEqual
public PropertyQueryCondition<ENTITY> notEqual(int value)
Creates a "not equal ('<>')" condition for this property.
-
greater
public PropertyQueryCondition<ENTITY> greater(int value)
Creates a "greater than ('>')" condition for this property.
-
greaterOrEqual
public PropertyQueryCondition<ENTITY> greaterOrEqual(int value)
Creates a "greater or equal ('>=')" condition for this property.
-
less
public PropertyQueryCondition<ENTITY> less(int value)
Creates a "less than ('<')" condition for this property.
-
lessOrEqual
public PropertyQueryCondition<ENTITY> lessOrEqual(int value)
Creates a "less or equal ('<=')" condition for this property.
-
between
public PropertyQueryCondition<ENTITY> between(int lowerBoundary, int upperBoundary)
Creates a "BETWEEN ... AND ..." condition for this property. Finds objects with property value between and including the first and second value.
-
oneOf
public PropertyQueryCondition<ENTITY> oneOf(int[] values)
Creates an "IN (..., ..., ...)" condition for this property.
-
notOneOf
public PropertyQueryCondition<ENTITY> notOneOf(int[] values)
Creates a "NOT IN (..., ..., ...)" condition for this property.
-
equal
public PropertyQueryCondition<ENTITY> equal(long value)
Creates an "equal ('=')" condition for this property.
-
notEqual
public PropertyQueryCondition<ENTITY> notEqual(long value)
Creates a "not equal ('<>')" condition for this property.
-
greater
public PropertyQueryCondition<ENTITY> greater(long value)
Creates a "greater than ('>')" condition for this property.
-
greaterOrEqual
public PropertyQueryCondition<ENTITY> greaterOrEqual(long value)
Creates a "greater or equal ('>=')" condition for this property.
-
less
public PropertyQueryCondition<ENTITY> less(long value)
Creates a "less than ('<')" condition for this property.
-
lessOrEqual
public PropertyQueryCondition<ENTITY> lessOrEqual(long value)
Creates a "less or equal ('<=')" condition for this property.
-
between
public PropertyQueryCondition<ENTITY> between(long lowerBoundary, long upperBoundary)
Creates a "BETWEEN ... AND ..." condition for this property. Finds objects with property value between and including the first and second value.
-
oneOf
public PropertyQueryCondition<ENTITY> oneOf(long[] values)
Creates an "IN (..., ..., ...)" condition for this property.
-
notOneOf
public PropertyQueryCondition<ENTITY> notOneOf(long[] values)
Creates a "NOT IN (..., ..., ...)" condition for this property.
-
equal
public PropertyQueryCondition<ENTITY> equal(double value, double tolerance)
Callsbetween(double, double)
withvalue - tolerance
as lower bound andvalue + tolerance
as upper bound.
-
greater
public PropertyQueryCondition<ENTITY> greater(double value)
Creates a "greater than ('>')" condition for this property.
-
greaterOrEqual
public PropertyQueryCondition<ENTITY> greaterOrEqual(double value)
Creates a "greater or equal ('>=')" condition for this property.
-
less
public PropertyQueryCondition<ENTITY> less(double value)
Creates a "less than ('<')" condition for this property.
-
lessOrEqual
public PropertyQueryCondition<ENTITY> lessOrEqual(double value)
Creates a "less or equal ('<=')" condition for this property.
-
between
public PropertyQueryCondition<ENTITY> between(double lowerBoundary, double upperBoundary)
Creates a "BETWEEN ... AND ..." condition for this property. Finds objects with property value between and including the first and second value.
-
nearestNeighbors
public PropertyQueryCondition<ENTITY> nearestNeighbors(float[] queryVector, int maxResultCount)
Performs an approximate nearest neighbor (ANN) search to find objects near to the givenqueryVector
.This requires the vector property to have an
HnswIndex
.The dimensions of the query vector should be at least the dimensions of this vector property.
Use
maxResultCount
to set the maximum number of objects to return by the ANN condition. Hint: it can also be used as the "ef" HNSW parameter to increase the search quality in combination with a query limit. For example, use maxResultCount of 100 with a Query limit of 10 to have 10 results that are of potentially better quality than just passing in 10 for maxResultCount (quality/performance tradeoff).To change the given parameters after building the query, use
Query.setParameter(Property, float[])
andQuery.setParameter(Property, long)
or their alias equivalent.
-
equal
public PropertyQueryCondition<ENTITY> equal(java.util.Date value)
Creates an "equal ('=')" condition for this property.
-
notEqual
public PropertyQueryCondition<ENTITY> notEqual(java.util.Date value)
Creates a "not equal ('<>')" condition for this property.
-
greater
public PropertyQueryCondition<ENTITY> greater(java.util.Date value)
Creates a "greater than ('>')" condition for this property.
-
greaterOrEqual
public PropertyQueryCondition<ENTITY> greaterOrEqual(java.util.Date value)
Creates a "greater or equal ('>=')" condition for this property.
-
less
public PropertyQueryCondition<ENTITY> less(java.util.Date value)
Creates a "less than ('<')" condition for this property.
-
lessOrEqual
public PropertyQueryCondition<ENTITY> lessOrEqual(java.util.Date value)
Creates a "less or equal ('<=')" condition for this property.
-
oneOf
public PropertyQueryCondition<ENTITY> oneOf(java.util.Date[] value)
Creates an "IN (..., ..., ...)" condition for this property.
-
notOneOf
public PropertyQueryCondition<ENTITY> notOneOf(java.util.Date[] value)
Creates a "NOT IN (..., ..., ...)" condition for this property.
-
between
public PropertyQueryCondition<ENTITY> between(java.util.Date lowerBoundary, java.util.Date upperBoundary)
Creates a "BETWEEN ... AND ..." condition for this property. Finds objects with property value between and including the first and second value.
-
equal
public PropertyQueryCondition<ENTITY> equal(java.lang.String value)
Creates an "equal ('=')" condition for this property usingStringOrder#CASE_SENSITIVE
.- See Also:
equal(String, StringOrder)
-
equal
public PropertyQueryCondition<ENTITY> equal(java.lang.String value, QueryBuilder.StringOrder order)
Creates an "equal ('=')" condition for this property.
-
notEqual
public PropertyQueryCondition<ENTITY> notEqual(java.lang.String value)
Creates a "not equal ('<>')" condition for this property usingStringOrder#CASE_SENSITIVE
.- See Also:
notEqual(String, StringOrder)
-
notEqual
public PropertyQueryCondition<ENTITY> notEqual(java.lang.String value, QueryBuilder.StringOrder order)
Creates a "not equal ('<>')" condition for this property.
-
greater
public PropertyQueryCondition<ENTITY> greater(java.lang.String value)
Creates a "greater than ('>')" condition for this property usingStringOrder#CASE_SENSITIVE
.- See Also:
greater(String, StringOrder)
-
greater
public PropertyQueryCondition<ENTITY> greater(java.lang.String value, QueryBuilder.StringOrder order)
Creates a "greater than ('>')" condition for this property.
-
greaterOrEqual
public PropertyQueryCondition<ENTITY> greaterOrEqual(java.lang.String value, QueryBuilder.StringOrder order)
Creates a "greater or equal ('>=')" condition for this property.
-
less
public PropertyQueryCondition<ENTITY> less(java.lang.String value)
Creates a "less than ('<')" condition for this property usingStringOrder#CASE_SENSITIVE
.- See Also:
less(String, StringOrder)
-
less
public PropertyQueryCondition<ENTITY> less(java.lang.String value, QueryBuilder.StringOrder order)
Creates a "less than ('<')" condition for this property.
-
lessOrEqual
public PropertyQueryCondition<ENTITY> lessOrEqual(java.lang.String value, QueryBuilder.StringOrder order)
Creates a "less or equal ('<=')" condition for this property.
-
contains
public PropertyQueryCondition<ENTITY> contains(java.lang.String value)
Creates a contains condition for this property usingStringOrder#CASE_SENSITIVE
.Note: for a String array property, use
containsElement(java.lang.String)
instead.- See Also:
contains(String, StringOrder)
-
contains
public PropertyQueryCondition<ENTITY> contains(java.lang.String value, QueryBuilder.StringOrder order)
-
containsElement
public PropertyQueryCondition<ENTITY> containsElement(java.lang.String value)
For a String array, list or String-key map property, matches if at least one element equals the given value usingStringOrder#CASE_SENSITIVE
.- See Also:
containsElement(String, StringOrder)
-
containsElement
public PropertyQueryCondition<ENTITY> containsElement(java.lang.String value, QueryBuilder.StringOrder order)
-
containsKeyValue
public PropertyQueryCondition<ENTITY> containsKeyValue(java.lang.String key, java.lang.String value)
For a String-key map property, matches if at least one key and value combination equals the given values usingStringOrder#CASE_SENSITIVE
.
-
containsKeyValue
public PropertyQueryCondition<ENTITY> containsKeyValue(java.lang.String key, java.lang.String value, QueryBuilder.StringOrder order)
- See Also:
containsKeyValue(String, String)
-
startsWith
public PropertyQueryCondition<ENTITY> startsWith(java.lang.String value)
Creates a starts with condition usingStringOrder#CASE_SENSITIVE
.- See Also:
startsWith(String, StringOrder)
-
startsWith
public PropertyQueryCondition<ENTITY> startsWith(java.lang.String value, QueryBuilder.StringOrder order)
-
endsWith
public PropertyQueryCondition<ENTITY> endsWith(java.lang.String value)
Creates an ends with condition usingStringOrder#CASE_SENSITIVE
.- See Also:
endsWith(String, StringOrder)
-
endsWith
public PropertyQueryCondition<ENTITY> endsWith(java.lang.String value, QueryBuilder.StringOrder order)
-
oneOf
public PropertyQueryCondition<ENTITY> oneOf(java.lang.String[] values)
Creates an "IN (..., ..., ...)" condition for this property usingStringOrder#CASE_SENSITIVE
.- See Also:
oneOf(String[], StringOrder)
-
oneOf
public PropertyQueryCondition<ENTITY> oneOf(java.lang.String[] values, QueryBuilder.StringOrder order)
Creates an "IN (..., ..., ...)" condition for this property.
-
equal
public PropertyQueryCondition<ENTITY> equal(byte[] value)
Creates an "equal ('=')" condition for this property.
-
greater
public PropertyQueryCondition<ENTITY> greater(byte[] value)
Creates a "greater than ('>')" condition for this property.
-
greaterOrEqual
public PropertyQueryCondition<ENTITY> greaterOrEqual(byte[] value)
Creates a "greater or equal ('>=')" condition for this property.
-
less
public PropertyQueryCondition<ENTITY> less(byte[] value)
Creates a "less than ('<')" condition for this property.
-
lessOrEqual
public PropertyQueryCondition<ENTITY> lessOrEqual(byte[] value)
Creates a "less or equal ('<=')" condition for this property.
-
eq
@Deprecated public PropertyQueryCondition<ENTITY> eq(java.lang.Object value)
Deprecated.Useequal(boolean)
instead.Creates an "equal ('=')" condition for this property.
-
notEq
@Deprecated public PropertyQueryCondition<ENTITY> notEq(java.lang.Object value)
Deprecated.UsenotEqual(boolean)
instead.Creates an "not equal ('<>')" condition for this property.
-
in
@Deprecated public PropertyQueryCondition<ENTITY> in(java.lang.Object... values)
Deprecated.UseoneOf(int[])
instead.Creates an "IN (..., ..., ...)" condition for this property.
-
in
@Deprecated public PropertyQueryCondition<ENTITY> in(java.util.Collection<?> inValues)
Deprecated.UseoneOf(int[])
instead.Creates an "IN (..., ..., ...)" condition for this property.
-
gt
@Deprecated public PropertyQueryCondition<ENTITY> gt(java.lang.Object value)
Deprecated.Usegreater(short)
instead.Creates an "greater than ('>')" condition for this property.
-
lt
@Deprecated public PropertyQueryCondition<ENTITY> lt(java.lang.Object value)
Deprecated.Useless(short)
instead.Creates an "less than ('<')" condition for this property.
-
isNotNull
@Deprecated public PropertyQueryCondition<ENTITY> isNotNull()
Deprecated.UsenotNull()
instead.Creates an "IS NOT NULL" condition for this property.
-
getEntityId
@Internal public int getEntityId()
-
getId
@Internal public int getId()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-