|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.indexmanagement.geo.DataWrapper
public class DataWrapper
A utility class used to read and administer the data, coordinates and id of a GeoIndex entry. *
| Field Summary | |
|---|---|
static String |
DEFAULT_CHARSET
|
static String |
OFFSET_SEPARATOR
|
| Method Summary | |
|---|---|
static org.geotools.index.DataDefinition |
createDefinition()
A method to generate the default GeoTools DataDefinition object. |
String |
getColID()
|
String |
getColLang()
|
org.geotools.index.Data |
getData()
A getter method for the Data |
String |
getID()
A getter method for the ID |
static DataWrapper |
getInstance(GeoIndexType indexTypeObject,
org.geotools.index.Data data,
RandomAccessFile rawDataFile)
A method used to get a DataWrapper instance from a GeoTools Data object |
static DataWrapper |
getInstance(GeoIndexType indexTypeObject,
ReadableByteChannel inChannel,
RandomAccessFile rawDataFile)
A method used to create a DataWrapper instance from an IndexType and a DeltaFile input channel |
long |
getMaxX()
A getter method for the highest X coordinate |
long |
getMaxY()
A getter method for the highest Y coordinate |
com.vividsolutions.jts.geom.Envelope |
getMbr()
A method to get the Minimum Bounding Rectangle of the entry |
long |
getMinX()
A getter method for the lowest X coordinate |
long |
getMinY()
A getter method for the lowest Y coordinate |
Object |
getValue(String fieldName)
A method to get the value of the IndexType field with the specified field name |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String OFFSET_SEPARATOR
public static final String DEFAULT_CHARSET
| Method Detail |
|---|
public long getMinX()
public long getMaxX()
public long getMinY()
public long getMaxY()
public String getID()
public org.geotools.index.Data getData()
public com.vividsolutions.jts.geom.Envelope getMbr()
public Object getValue(String fieldName)
fieldName - -
the fields index/placement in the IndexType
public static DataWrapper getInstance(GeoIndexType indexTypeObject,
org.geotools.index.Data data,
RandomAccessFile rawDataFile)
throws Exception
indexTypeObject - -
a GeoTools Data object containing the coordinates and id as
the first five fieldsdata - - The data for the GeoTools data object.
Exception
public static DataWrapper getInstance(GeoIndexType indexTypeObject,
ReadableByteChannel inChannel,
RandomAccessFile rawDataFile)
throws IndexException
indexTypeObject - -
The indexType of the entryinChannel - -
An input channel reading from a DeltaFile
IndexException - an error reading from the DeltaFilepublic static org.geotools.index.DataDefinition createDefinition()
public String getColID()
public String getColLang()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||