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
|
org.apache.hadoop.fs.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(org.apache.hadoop.fs.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 int getSrid()
public void setSrid(int srid)
srid
- an SRIDpublic boolean isGeodetic()
public void setGeodetic(boolean geodetic)
geodetic
- true for geodeticpublic double getTolerance()
public void setDimensions(int dimensions)
dimensions
- the number of dimensionspublic int getDimensions()
public void setBounds(double[] bounds)
bounds
- dimensions bounds in the form dim1Min,dim2Min,dim1Max,dim2Maxpublic double[] getBounds()
public void setTolerance(double tolerance)
tolerance
- a tolerance valuepublic org.apache.hadoop.fs.Path getIndexPath()
public void setIndexPath(org.apache.hadoop.fs.Path indexPath)
indexPath
- a pathpublic java.lang.String getIndexName()
public void setIndexName(java.lang.String indexName)
indexName
- the spatial index namepublic double[] getMbr()
public void setMbr(double[] mbr)
mbr
- an MBR in the form minX, minY, maxX, maxYpublic long getIndexCount()
public void setIndexCount(long indexCount)
indexCount
- the number of local indexespublic long getTotalElemCount()
public void setTotalElemCount(long totalElemCount)
totalElemCount
- the number of indexed recordspublic java.util.List<SpatialIndexMetadata.SpatialIndexEntry> getIndexFiles()
public void setIndexFiles(java.util.List<SpatialIndexMetadata.SpatialIndexEntry> indexFiles)
indexFiles
- a list of the metadata of each local indexpublic java.util.Set<java.lang.String> getExtraFieldNames()
public void setExtraFieldNames(java.util.Set<java.lang.String> extraFieldNames)
extraFieldNames
- a set of all the extra field names contained in the spatial indexpublic boolean isMapFile()
public void setMapFile(boolean mapFile)
public void setUserInputString(java.lang.String inputString)
public java.lang.String getUserInputString()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2016 Oracle and/or its affiliates. All Rights Reserved.