Class StringIsPrefixOf<O,A extends CharSequence>
- java.lang.Object
-
- com.googlecode.cqengine.query.simple.SimpleQuery<O,A>
-
- com.googlecode.cqengine.query.simple.StringIsPrefixOf<O,A>
-
- All Implemented Interfaces:
Query<O>
public class StringIsPrefixOf<O,A extends CharSequence> extends SimpleQuery<O,A>
-
-
Field Summary
-
Fields inherited from class com.googlecode.cqengine.query.simple.SimpleQuery
attribute, attributeIsSimple, simpleAttribute
-
-
Constructor Summary
Constructors Constructor Description StringIsPrefixOf(Attribute<O,A> attribute, A value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
calcHashCode()
boolean
equals(Object o)
A
getValue()
protected boolean
matchesNonSimpleAttribute(Attribute<O,A> attribute, O object, QueryOptions queryOptions)
protected boolean
matchesSimpleAttribute(SimpleAttribute<O,A> attribute, O object, QueryOptions queryOptions)
-
Methods inherited from class com.googlecode.cqengine.query.simple.SimpleQuery
asLiteral, asLiteral, getAttribute, getAttributeName, getAttributeType, hashCode, matches
-
-
-
-
Method Detail
-
getValue
public A getValue()
-
matchesSimpleAttribute
protected boolean matchesSimpleAttribute(SimpleAttribute<O,A> attribute, O object, QueryOptions queryOptions)
- Specified by:
matchesSimpleAttribute
in classSimpleQuery<O,A extends CharSequence>
-
matchesNonSimpleAttribute
protected boolean matchesNonSimpleAttribute(Attribute<O,A> attribute, O object, QueryOptions queryOptions)
- Specified by:
matchesNonSimpleAttribute
in classSimpleQuery<O,A extends CharSequence>
-
calcHashCode
public int calcHashCode()
- Specified by:
calcHashCode
in classSimpleQuery<O,A extends CharSequence>
-
-