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

Constructor Index

 o sdoTune()
Constructs a new sdoTune object.
 o sdoTune(sdoLayer, Connection, String)
Constructs a new sdoTune object with the input parameters, and reads the information from tables '_sdolayer' and '_sdodim'.

Method Index

 o GetHistogram(String, double, int)
returns a statistical histogram
 o getSDOdata()
Returns SDO data in memory.
 o getSDOgids()
Returns SDO GID list in memory.
 o LevelEstimate(int, String)
Estimates the partitioning level.
 o MixInfo()
retrns data mixture information
 o NumGIDs(boolean)
returns the number of GIDs
 o NumIndexedGIDs(boolean)
returns the number of indexed GIDs
 o NumTiles(String, boolean)
returns the number of SDO tiles
 o SelectedGIDs(String, long, String, int)
returns the number of selected GIDs in the query
 o setSDOdata(sdoGeometryList)
Associates SDO data in memory to read from.
 o setSDOgids(sdoGIDList)
Associates SDO GID list in memory to read from.
 o setSDOinfo(sdoInfo)
Associates SDO layer information.
 o setSDOschema(boolean)
Associates SDO layer schema.
 o setTextArea(sdoTextArea, sdoErrorWindow)
Associates a text area to write information.

Constructors

 o sdoTune
 public sdoTune()
Constructs a new sdoTune object.

 o 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'.

Methods

 o 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.
 o setSDOinfo
 public void setSDOinfo(sdoInfo info)
Associates SDO layer information.

Parameters:
info - sdoInfo object of current SDO layer.
 o setSDOschema
 public void setSDOschema(boolean isHybrid)
Associates SDO layer schema.

Parameters:
isHybrid - if current layer has hybrid schema.
 o setSDOdata
 public void setSDOdata(sdoGeometryList data)
Associates SDO data in memory to read from.

Parameters:
data - sdoGeometryList object.
 o getSDOdata
 public sdoGeometryList getSDOdata()
Returns SDO data in memory.

Returns:
returns sdoGeometryList object.
 o setSDOgids
 public void setSDOgids(sdoGIDList gids)
Associates SDO GID list in memory to read from.

Parameters:
gids - sdoGIDList object.
 o getSDOgids
 public sdoGIDList getSDOgids()
Returns SDO GID list in memory.

Returns:
returns sdoGIDList object.
 o LevelEstimate
 public int LevelEstimate(int maxtiles,
                          String extent)
Estimates the partitioning level.

Returns:
returns an integer value.
 o GetHistogram
 public double[] GetHistogram(String histo_name,
                              double maxvalue,
                              int intervals)
returns a statistical histogram

Returns:
returns an array of histogram values.
 o MixInfo
 public long[] MixInfo()
retrns data mixture information

Returns:
returns an array of long integers.
 o NumGIDs
 public long NumGIDs(boolean isDistinct)
returns the number of GIDs

Returns:
returns a long value.
 o NumIndexedGIDs
 public long NumIndexedGIDs(boolean isDistinct)
returns the number of indexed GIDs

Returns:
returns a long value.
 o NumTiles
 public long NumTiles(String column,
                      boolean isDistinct)
returns the number of SDO tiles

Returns:
returns a long value.
 o 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