Esri Geoportal Server
1.0

com.esri.gpt.catalog.lucene
Class GeometryProperty

java.lang.Object
  extended by com.esri.gpt.catalog.lucene.Storeable
      extended by com.esri.gpt.catalog.lucene.GeometryProperty
All Implemented Interfaces:
IStoreable

public class GeometryProperty
extends Storeable

Represents the bounding envelope associated with a document.


Constructor Summary
GeometryProperty(String name)
          Constructs with a supplied name.
 
Method Summary
 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.
protected  Envelope readEnvelope(Document document)
          Reads the envelope associated with a document.
 
Methods inherited from class com.esri.gpt.catalog.lucene.Storeable
getComparisonField, getFields, getName, getRetrievalField, getTermsField, getValues, setComparisonField, setRetrievalField, setTermsField, setValue, setValues
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeometryProperty

public GeometryProperty(String name)
Constructs with a supplied name.

Parameters:
name - the property name
Method Detail

appendForWrite

public void appendForWrite(Document document)
Appends underlying fields to a document prior to writing the document to the index.

Overrides:
appendForWrite in class Storeable
Parameters:
document - the Lucene document

appendForWrite

public void appendForWrite(Document document,
                           Object value)
Appends underlying fields to a document prior to writing the document to the index.

Overrides:
appendForWrite in class Storeable
Parameters:
document - the Lucene document
value - the input value to write

readEnvelope

protected Envelope readEnvelope(Document document)
Reads the envelope associated with a document.

Parameters:
document - the Lucene document
Returns:
the envelope (null if none)

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.