public class RTreeWritable
extends java.lang.Object
| Constructor and Description |
|---|
RTreeWritable()
Creates an empty instance
|
RTreeWritable(RTree tree)
Creates an instance with the given tree
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getIndexName()
Gets the index name
|
int |
getSrid()
Gets the SRID
|
RTree |
getTree()
Gets the current tree
|
boolean |
isGeodetic()
Returns true if the data are geodetic, false otherwise
|
void |
readFields(java.io.DataInput in) |
void |
set(RTreeWritable treeW)
Copies the content from another instance.
|
void |
setGeodetic(boolean geodetic)
Sets true if the data are geodetic, false otherwise
|
void |
setIndexName(java.lang.String indexName)
Sets the index name
|
void |
setSrid(int srid)
Sets the SRID
|
void |
setTree(RTree tree)
Sets a tree
|
void |
write(java.io.DataOutput out) |
public RTreeWritable()
public RTreeWritable(RTree tree)
tree - an RTree instancepublic java.lang.String getIndexName()
public int getSrid()
public RTree getTree()
public boolean isGeodetic()
public void readFields(java.io.DataInput in)
throws java.io.IOException
java.io.IOExceptionpublic void set(RTreeWritable treeW)
treeW -public void setGeodetic(boolean geodetic)
geodetic - true if the data are geodetic, false otherwisepublic void setIndexName(java.lang.String indexName)
indexName - the index namepublic void setSrid(int srid)
srid - the SRIDpublic void setTree(RTree tree)
tree - an RTree instance
public void write(java.io.DataOutput out)
throws java.io.IOException
java.io.IOExceptionCopyright © 2017 Oracle and/or its affiliates. All Rights Reserved.