public interface StoredField
| Modifier and Type | Method and Description |
|---|---|
void |
createIndex()
creates an index on this field at runtime.
|
void |
dropIndex()
drops an existing index on this field at runtime.
|
java.lang.Object |
get(java.lang.Object onObject)
returns the field value on the passed object.
|
java.lang.String |
getName()
returns the name of the field.
|
ReflectClass |
getStoredType()
returns the Class (Java) / Type (.NET) of the field.
|
boolean |
hasIndex()
Returns whether this field has an index or not.
|
boolean |
isArray()
returns true if the field is an array.
|
void |
rename(java.lang.String name)
modifies the name of this stored field.
|
void |
traverseValues(Visitor4 visitor)
specialized highspeed API to collect all values of a field for all instances
of a class, if the field is indexed.
|
void createIndex()
void dropIndex()
java.lang.Object get(java.lang.Object onObject)
java.lang.String getName()
ReflectClass getStoredType()
isArray() to detect arrays.boolean isArray()
void rename(java.lang.String name)
name - the new namevoid traverseValues(Visitor4 visitor)
visitor - the visitor to be called with each index value.boolean hasIndex()