|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.connector.metadata.index.MetadataLiteralCriteria
public class MetadataLiteralCriteria
This object is used for construting match patterns used to query index files containing metadata information. This object can also be used to post process results after querying index files. This object directly mapps to a single criteria in a SQL query.
Constructor Summary | |
---|---|
MetadataLiteralCriteria(java.lang.String fieldName,
java.lang.Object fieldValue)
Constructor MetadataLiteralCriteria |
Method Summary | |
---|---|
java.lang.Object |
getEvaluatedValue()
Get the value of the literal field used in the criteria with any function on it evaluated. |
java.lang.String |
getFieldFunction()
Get the name of the function applied on the field part of criteria. |
java.lang.String |
getFieldName()
Get the name of field used on criteria which gets matched against a literal. |
java.lang.Object |
getFieldValue()
Get the value of field used on criteria which is a literal used as part of seach criteria. |
java.lang.String |
getValueFunction()
Get the name of the function applied on the literal part of criteria. |
boolean |
hasFieldWithCaseFunctions()
Return true if any case functions are involved on the fieldName of this criteria |
boolean |
isFalseCriteria()
Check if this criteria evaluates to a false criteria. |
void |
setFieldFunction(java.lang.String fieldFunction)
Set the name of the function applied on the field part of criteria. |
void |
setValueFunction(java.lang.String valueFunction)
Set the name of the function applied on the literal part of criteria. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetadataLiteralCriteria(java.lang.String fieldName, java.lang.Object fieldValue)
fieldName
- The name of field used on criteria which gets matched against a literal.fieldValue
- The value of field used on criteria which is a literal used as part of seach criteria.Method Detail |
---|
public java.lang.String getFieldFunction()
public void setFieldFunction(java.lang.String fieldFunction)
fieldFunction
- The fieldFunction to set.public java.lang.String getFieldName()
public java.lang.Object getFieldValue()
public boolean isFalseCriteria()
public java.lang.Object getEvaluatedValue()
public java.lang.String getValueFunction()
public void setValueFunction(java.lang.String valueFunction)
valueFunction
- The valueFunction to set.public boolean hasFieldWithCaseFunctions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |