public class DataWrapper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_CHARSET |
static String |
OFFSET_SEPARATOR |
| Modifier and Type | Method and Description |
|---|---|
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
|
public static final String OFFSET_SEPARATOR
public static final String DEFAULT_CHARSET
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 IndexTypepublic 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.Exceptionpublic static DataWrapper getInstance(GeoIndexType indexTypeObject, ReadableByteChannel inChannel, RandomAccessFile rawDataFile) throws IndexException
indexTypeObject - -
The indexType of the entryinChannel - -
An input channel reading from a DeltaFileIndexException - an error reading from the DeltaFilepublic static org.geotools.index.DataDefinition createDefinition()
public String getColID()
public String getColLang()
Copyright © 2014. All Rights Reserved.