public class OSQLFilterItemField extends OSQLFilterItemAbstract
Modifier and Type | Class and Description |
---|---|
class |
OSQLFilterItemField.FieldChain
Represents filter item as chain of fields.
|
Modifier and Type | Field and Description |
---|---|
protected OCollate |
collate |
protected String |
name |
protected Set<String> |
preLoadedFields |
protected String[] |
preLoadedFieldsArray |
operationsChain
Constructor and Description |
---|
OSQLFilterItemField(OBaseParser iQueryToParse,
String iName,
OClass iClass) |
OSQLFilterItemField(String iName,
OClass iClass) |
Modifier and Type | Method and Description |
---|---|
OBinaryField |
getBinaryField(OIdentifiable iRecord) |
OCollate |
getCollate() |
OCollate |
getCollate(Object doc)
get the collate of this expression, based on the fully evaluated field chain starting from the
passed object.
|
OSQLFilterItemField.FieldChain |
getFieldChain()
Creates
FieldChain in case when filter item can have such representation. |
String |
getRoot() |
Object |
getValue(OIdentifiable iRecord,
Object iCurrentResult,
OCommandContext iContext) |
boolean |
isFieldChain()
Check whether or not this filter item is chain of fields (e.g.
|
void |
setPreLoadedFields(Set<String> iPrefetchedFieldList) |
void |
setRoot(OBaseParser iQueryToParse,
String iRoot) |
getCollateForField, getLastChainOperator, hasChainOperators, toString, transformValue
protected String[] preLoadedFieldsArray
protected String name
protected OCollate collate
public OSQLFilterItemField(OBaseParser iQueryToParse, String iName, OClass iClass)
public Object getValue(OIdentifiable iRecord, Object iCurrentResult, OCommandContext iContext)
public OBinaryField getBinaryField(OIdentifiable iRecord)
public String getRoot()
getRoot
in class OSQLFilterItemAbstract
public void setRoot(OBaseParser iQueryToParse, String iRoot)
setRoot
in class OSQLFilterItemAbstract
public boolean isFieldChain()
public OSQLFilterItemField.FieldChain getFieldChain()
FieldChain
in case when filter item can have such representation.FieldChain
representation of this filter item.IllegalStateException
- if this filter item cannot be represented as FieldChain
.public OCollate getCollate()
Copyright © 2009–2020 OrientDB. All rights reserved.