public class PartitionInfo
extends java.lang.Object
Constructor and Description |
---|
PartitionInfo(int id)
Creates a new instance
|
PartitionInfo(int id, double[] mbr, long size)
Creates a new instance
|
PartitionInfo(int id, oracle.spatial.geometry.JGeometry geom, long size)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
void |
add(double[] point)
Adds a point to the partition
|
oracle.spatial.geometry.JGeometry |
getGeometry()
Gets the partition geometry
|
int |
getId()
Gets the partition id
|
double[] |
getMbr()
Gets the partition minimum bounding rectangle
|
long |
getSize()
Gets the number of points in the partition
|
void |
setGeometry(oracle.spatial.geometry.JGeometry geometry)
Sets the partition geometry
|
void |
setId(int id)
Sets the partition id
|
void |
setMbr(double[] mbr)
Sets the partition minimum bounding rectangle
|
void |
setSize(long size)
Sets the number of points in the partition
|
public PartitionInfo(int id, oracle.spatial.geometry.JGeometry geom, long size)
id
- the partition idgeom
- the partition's geometrysize
- the number of points in the partitionpublic PartitionInfo(int id, double[] mbr, long size)
id
- the partition idmbr
- the partition's minimum bounding rectanglesize
- the number of points in the partitionpublic PartitionInfo(int id)
id
- the partition idpublic void add(double[] point)
point
-public long getSize()
public void setSize(long size)
size
-public double[] getMbr()
public void setMbr(double[] mbr)
mbr
-public int getId()
public void setId(int id)
id
-public void setGeometry(oracle.spatial.geometry.JGeometry geometry)
geometry
-public oracle.spatial.geometry.JGeometry getGeometry()