| java.lang.Object org.space4j.indexing.Index
Index | public class Index implements Serializable(Code) | | An object representing an Index in the system.
An index contains a name, a classname, and a set o attributes.
Index can be simple or compound.
|
Index | public Index(String name, Class klass, String[] attributes)(Code) | | Create a new Index.
Parameters: name - The name of this index. Parameters: klass - The class of this index. Parameters: attributes - An array of attributes. |
getAttributes | public String[] getAttributes()(Code) | | Return the attributes of this index.
The attributes of the index. |
getClassName | public String getClassName()(Code) | | Return the name of the class of this index.
The name of the class. |
getKey | public Key getKey(Object value)(Code) | | Get a key to be used by this index for a given object.
Parameters: value - The object from which we want a key. A key for this object. |
getName | public String getName()(Code) | | Return the name of this index.
The name of the index. |
hasAttribute | public boolean hasAttribute(String attribute)(Code) | | Check if this index contains a given attribute.
Parameters: attribute - The attribute we are looking for. True if the index contains this attribute. |
hashCode | public int hashCode()(Code) | | |
|
|