|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.catalog.lucene.Storeable
public class Storeable
Represents a data store property associated with a document.
A storable property can have multiple associated fields, for instance a GeometryProperty has 5 field fields:
Constructor Summary | |
---|---|
Storeable(String name)
Constructs with a supplied name. |
Method Summary | |
---|---|
protected void |
appendForWrite(Document document)
Appends underlying fields to a document prior to writing the document to the index. |
void |
appendForWrite(Document document,
Object value)
Appends underlying fields to a document prior to writing the document to the index. |
DatastoreField |
getComparisonField()
Gets the non-tokenized field for exact/range comparison queries. |
DatastoreFields |
getFields()
Gets the underlying data store fields associated with the property. |
String |
getName()
Gets the property name. |
DatastoreField |
getRetrievalField()
Gets the field used to retrieve data from the store. |
DatastoreField |
getTermsField()
Gets the tokenized field for term based queries. |
Object[] |
getValues()
Gets the underlying values to store. |
void |
setComparisonField(DatastoreField field)
Sets the non-tokenized field for exact/range comparison queries. |
void |
setRetrievalField(DatastoreField field)
Sets the field used to retrieve data from the store. |
void |
setTermsField(DatastoreField field)
Sets the tokenized field for term based queries. |
void |
setValue(Object value)
Sets the value collection to a single object value. |
void |
setValues(Object[] values)
Sets the underlying values to store. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Storeable(String name)
name
- the property nameMethod Detail |
---|
public DatastoreField getComparisonField()
public void setComparisonField(DatastoreField field)
field
- the comparison fieldpublic DatastoreField getRetrievalField()
public void setRetrievalField(DatastoreField field)
field
- the retrieval fieldpublic DatastoreFields getFields()
public String getName()
getName
in interface IStoreable
public DatastoreField getTermsField()
public void setTermsField(DatastoreField field)
field
- the terms fieldpublic Object[] getValues()
getValues
in interface IStoreable
public void setValue(Object value)
setValue
in interface IStoreable
value
- the object value to setpublic void setValues(Object[] values)
setValues
in interface IStoreable
values
- the data values to storeprotected void appendForWrite(Document document)
document
- the Lucene documentpublic void appendForWrite(Document document, Object value)
document
- the Lucene documentvalue
- the input value to write
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |