All Packages Class Hierarchy This Package Previous Next Index
Class sdoOracle.sdoTune
java.lang.Object
|
+----sdoOracle.sdoTune
- public class sdoTune
- extends Object
Class sdoTune implements SDO data analysis and estimation.
- See Also:
- sdoInfo, sdoGeometryList, sdoGIDList
-
sdoTune()
- Constructs a new sdoTune object.
-
sdoTune(sdoLayer, Connection, String)
- Constructs a new sdoTune object with the input parameters,
and reads the information from tables '_sdolayer' and '_sdodim'.
-
GetHistogram(String, double, int)
- returns a statistical histogram
-
getSDOdata()
- Returns SDO data in memory.
-
getSDOgids()
- Returns SDO GID list in memory.
-
LevelEstimate(int, String)
- Estimates the partitioning level.
-
MixInfo()
- retrns data mixture information
-
NumGIDs(boolean)
- returns the number of GIDs
-
NumIndexedGIDs(boolean)
- returns the number of indexed GIDs
-
NumTiles(String, boolean)
- returns the number of SDO tiles
-
SelectedGIDs(String, long, String, int)
- returns the number of selected GIDs in the query
-
setSDOdata(sdoGeometryList)
- Associates SDO data in memory to read from.
-
setSDOgids(sdoGIDList)
- Associates SDO GID list in memory to read from.
-
setSDOinfo(sdoInfo)
- Associates SDO layer information.
-
setSDOschema(boolean)
- Associates SDO layer schema.
-
setTextArea(sdoTextArea, sdoErrorWindow)
- Associates a text area to write information.
sdoTune
public sdoTune()
- Constructs a new sdoTune object.
sdoTune
public sdoTune(sdoLayer parent,
Connection conn,
String table)
- Constructs a new sdoTune object with the input parameters,
and reads the information from tables '_sdolayer' and '_sdodim'.
setTextArea
public void setTextArea(sdoTextArea text,
sdoErrorWindow error)
- Associates a text area to write information.
This method is just for debug. Will be eliminated later.
- Parameters:
- text - sdoTextArea object.
- error - sdoErrorWindow object.
setSDOinfo
public void setSDOinfo(sdoInfo info)
- Associates SDO layer information.
- Parameters:
- info - sdoInfo object of current SDO layer.
setSDOschema
public void setSDOschema(boolean isHybrid)
- Associates SDO layer schema.
- Parameters:
- isHybrid - if current layer has hybrid schema.
setSDOdata
public void setSDOdata(sdoGeometryList data)
- Associates SDO data in memory to read from.
- Parameters:
- data - sdoGeometryList object.
getSDOdata
public sdoGeometryList getSDOdata()
- Returns SDO data in memory.
- Returns:
- returns sdoGeometryList object.
setSDOgids
public void setSDOgids(sdoGIDList gids)
- Associates SDO GID list in memory to read from.
- Parameters:
- gids - sdoGIDList object.
getSDOgids
public sdoGIDList getSDOgids()
- Returns SDO GID list in memory.
- Returns:
- returns sdoGIDList object.
LevelEstimate
public int LevelEstimate(int maxtiles,
String extent)
- Estimates the partitioning level.
- Returns:
- returns an integer value.
GetHistogram
public double[] GetHistogram(String histo_name,
double maxvalue,
int intervals)
- returns a statistical histogram
- Returns:
- returns an array of histogram values.
MixInfo
public long[] MixInfo()
- retrns data mixture information
- Returns:
- returns an array of long integers.
NumGIDs
public long NumGIDs(boolean isDistinct)
- returns the number of GIDs
- Returns:
- returns a long value.
NumIndexedGIDs
public long NumIndexedGIDs(boolean isDistinct)
- returns the number of indexed GIDs
- Returns:
- returns a long value.
NumTiles
public long NumTiles(String column,
boolean isDistinct)
- returns the number of SDO tiles
- Returns:
- returns a long value.
SelectedGIDs
public long SelectedGIDs(String layer,
long id,
String relation_mask,
int filter)
- returns the number of selected GIDs in the query
- Returns:
- returns a long integer value.
All Packages Class Hierarchy This Package Previous Next Index