Package com.attivio.sdk.search.fields
Class StringLength
- java.lang.Object
- 
- com.attivio.sdk.search.fields.FieldExpression
- 
- com.attivio.sdk.search.fields.UnaryFieldExpression
- 
- com.attivio.sdk.search.fields.StringLength
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Cloneable
 
 public class StringLength extends UnaryFieldExpression Computes the length of a string.- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com.attivio.sdk.search.fields.FieldExpressionFieldExpression.StringMode
 
- 
 - 
Field Summary- 
Fields inherited from class com.attivio.sdk.search.fields.UnaryFieldExpressionexpression
 - 
Fields inherited from class com.attivio.sdk.search.fields.FieldExpressionEMPTY_ARRAY
 
- 
 - 
Constructor SummaryConstructors Constructor Description StringLength(FieldExpression expression)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringLengthclone()protected StringLengthclone(FieldExpression e)Create a new instance of this FieldExpression, with a different argument.booleanequals(java.lang.Object other)SchemaField.TypegetType(Schema schema)Resolve the type for this expression.inthashCode()protected voidtoString(java.lang.StringBuilder buffer, FieldExpression.StringMode mode)Writes the string representation of this field expression tobuffer.static StringLengthvalueOf(StringParser parser)- 
Methods inherited from class com.attivio.sdk.search.fields.UnaryFieldExpressionforEachField, getExpression, getFieldName, hasChildren, isConstant, rewrite, setExpression
 - 
Methods inherited from class com.attivio.sdk.search.fields.FieldExpressionapply, copyOf, forEachPhrase, forEachQuery, getDefaultName, isConstant, parse, quote, rewrite, rewriteChildren, toString, toString, valueOf
 
- 
 
- 
- 
- 
Constructor Detail- 
StringLengthpublic StringLength(FieldExpression expression) 
 
- 
 - 
Method Detail- 
getTypepublic SchemaField.Type getType(Schema schema) Resolve the type for this expression.- Specified by:
- getTypein class- FieldExpression
 
 - 
toStringprotected void toString(java.lang.StringBuilder buffer, FieldExpression.StringMode mode)Writes the string representation of this field expression tobuffer.- Specified by:
- toStringin class- FieldExpression
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- UnaryFieldExpression
 
 - 
equalspublic boolean equals(java.lang.Object other) - Overrides:
- equalsin class- UnaryFieldExpression
 
 - 
clonepublic StringLength clone() - Overrides:
- clonein class- UnaryFieldExpression
 
 - 
cloneprotected StringLength clone(FieldExpression e) Create a new instance of this FieldExpression, with a different argument.- Overrides:
- clonein class- UnaryFieldExpression
 
 - 
valueOfpublic static StringLength valueOf(StringParser parser) 
 
- 
 
-