public class SpatialIndexMetadata
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SpatialIndexMetadata.SpatialIndexEntry
In-memory representation of a local spatial index metadata
|
Constructor and Description |
---|
SpatialIndexMetadata()
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
double[] |
getBounds()
Gets the dimensions minimum of maximum values
|
int |
getDimensions()
Gets the number of spatial dimensions of the indexed data
|
java.util.Set<java.lang.String> |
getExtraFieldNames()
Gets a set of all the extra field names contained in the spatial index
|
long |
getIndexCount()
Gets the number of local indexes
|
java.util.List<SpatialIndexMetadata.SpatialIndexEntry> |
getIndexFiles()
Gets a list of the metadata of each local index
|
java.lang.String |
getIndexName()
Gets the spatial index name
|
Path |
getIndexPath()
Gets the path of the whole spatial index
|
double[] |
getMbr()
Gets the MBR of the whole indexed data
|
int |
getSrid()
Gets the SRID of the indexed data
|
double |
getTolerance()
Gets the tolerance that should be used with the indexed data
|
long |
getTotalElemCount()
Gets the number of indexed records
|
java.lang.String |
getUserInputString() |
boolean |
isGeodetic()
Tells whether the indexed data is geodetic or not
|
boolean |
isMapFile() |
void |
setBounds(double[] bounds)
Sets the dimensions minimum of maximum values
|
void |
setDimensions(int dimensions)
Sets the number of spatial dimensions of the indexed data
|
void |
setExtraFieldNames(java.util.Set<java.lang.String> extraFieldNames)
Sets a set of all the extra field names contained in the spatial index
|
void |
setGeodetic(boolean geodetic)
Sets whether the indexed data is geodetic or not
|
void |
setIndexCount(long indexCount)
Sets the number of local indexes
|
void |
setIndexFiles(java.util.List<SpatialIndexMetadata.SpatialIndexEntry> indexFiles)
Sets a list of the metadata of each local index
|
void |
setIndexName(java.lang.String indexName)
Sets the spatial index name
|
void |
setIndexPath(Path indexPath)
Sets the path of the whole spatial index
|
void |
setMapFile(boolean mapFile) |
void |
setMbr(double[] mbr)
Sets the MBR of the whole indexed data
|
void |
setSrid(int srid)
Sets the SRID of the indexed data
|
void |
setTolerance(double tolerance)
Sets the tolerance that should be used with the indexed data
|
void |
setTotalElemCount(long totalElemCount)
Sets the number of indexed records
|
void |
setUserInputString(java.lang.String inputString) |
java.lang.String |
toString() |
public double[] getBounds()
public int getDimensions()
public java.util.Set<java.lang.String> getExtraFieldNames()
public long getIndexCount()
public java.util.List<SpatialIndexMetadata.SpatialIndexEntry> getIndexFiles()
public java.lang.String getIndexName()
public Path getIndexPath()
public double[] getMbr()
public int getSrid()
public double getTolerance()
public long getTotalElemCount()
public java.lang.String getUserInputString()
public boolean isGeodetic()
public boolean isMapFile()
public void setBounds(double[] bounds)
bounds
- dimensions bounds in the form dim1Min,dim2Min,dim1Max,dim2Maxpublic void setDimensions(int dimensions)
dimensions
- the number of dimensionspublic void setExtraFieldNames(java.util.Set<java.lang.String> extraFieldNames)
extraFieldNames
- a set of all the extra field names contained in the spatial indexpublic void setGeodetic(boolean geodetic)
geodetic
- true for geodeticpublic void setIndexCount(long indexCount)
indexCount
- the number of local indexespublic void setIndexFiles(java.util.List<SpatialIndexMetadata.SpatialIndexEntry> indexFiles)
indexFiles
- a list of the metadata of each local indexpublic void setIndexName(java.lang.String indexName)
indexName
- the spatial index namepublic void setIndexPath(Path indexPath)
indexPath
- a pathpublic void setMapFile(boolean mapFile)
public void setMbr(double[] mbr)
mbr
- an MBR in the form minX, minY, maxX, maxYpublic void setSrid(int srid)
srid
- an SRIDpublic void setTolerance(double tolerance)
tolerance
- a tolerance valuepublic void setTotalElemCount(long totalElemCount)
totalElemCount
- the number of indexed recordspublic void setUserInputString(java.lang.String inputString)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2017 Oracle and/or its affiliates. All Rights Reserved.