public class PartitionInfo
extends java.lang.Object
| Constructor and Description |
|---|
PartitionInfo(int id)
Creates a new instance
|
PartitionInfo(int id, JGeometry geom, long size)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(double[] point)
Adds a point to the partition
|
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(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)
id - the partition id
public PartitionInfo(int id,
JGeometry geom,
long size)
id - the partition idgeom - the partition's geometrysize - the number of points in the partitionpublic void add(double[] point)
point -public JGeometry getGeometry()
public int getId()
public double[] getMbr()
public long getSize()
public void setGeometry(JGeometry geometry)
geometry -public void setId(int id)
id -public void setMbr(double[] mbr)
mbr -public void setSize(long size)
size -Copyright © 2016 Oracle and/or its affiliates. All Rights Reserved.