All Packages Class Hierarchy This Package Previous Next Index
Class sdoOracle.sdoUpdate
java.lang.Object
|
+----sdoOracle.sdoUpdate
- public class sdoUpdate
- extends Object
Class sdoUpdate updates the SDO tables.
- See Also:
- sdoInfo, sdoDimension
-
sdoUpdate()
- Constructs a new sdoUpdate object.
-
sdoUpdate(sdoLayer, Connection, String)
- Constructs a new sdoUpdate object with the input parameters.
-
Create(Connection, String, int, int, int, double, double, double, double, double, double)
- Creates a hybrid-schema spatial layer in the database.
-
CreateFixed(Connection, String, int, int, double, double, double, double, double, double)
- Creates a fixed-schema spatial layer in the database.
-
ImportAscii(URL)
- Imports an ascii file Y axis coordinate first and
X axis coordinate next.
-
Insert(sdoGeometry, int)
- Inserts a new geometry into this layer.
-
PopulateIndex(String, int, int, boolean, long)
- Rebuilds the index file with hybrid schema.
-
PopulateIndexFixed(String, int, boolean, long)
- Rebuilds the index file with fixed schema.
-
Remove(Connection)
- Removes a spatial layer from the database.
-
Sample(Connection, String, String, int)
- Samples a spatial layer into another layer in the database.
-
setParent(sdoLayer)
- Associates the parent SDO layer.
-
setSDOdim(ObjectList)
- Associates SDO dimension information.
-
setSDOinfo(sdoInfo)
- Associates SDO layer information.
-
setSDOschema(boolean)
- Associates SDO layer schema.
-
setTextArea(sdoTextArea, sdoErrorWindow)
- Associates a text area to write information.
sdoUpdate
public sdoUpdate()
- Constructs a new sdoUpdate object.
sdoUpdate
public sdoUpdate(sdoLayer parent,
Connection conn,
String table)
- Constructs a new sdoUpdate object with the input parameters.
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.
setParent
public void setParent(sdoLayer parent)
- Associates the parent SDO layer.
- Parameters:
- info - sdoInfo object of current SDO layer.
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.
setSDOdim
public void setSDOdim(ObjectList dim)
- Associates SDO dimension information.
- Parameters:
- dim - ObjectList object.
PopulateIndex
public boolean PopulateIndex(String username,
int tilelevel,
int numtiles,
boolean isSingleTrans,
long trans_size)
- Rebuilds the index file with hybrid schema.
- Returns:
- returns a boolean value true or false.
PopulateIndexFixed
public boolean PopulateIndexFixed(String username,
int tilelevel,
boolean isSingleTrans,
long trans_size)
- Rebuilds the index file with fixed schema.
- Returns:
- returns a boolean value true or false.
Remove
public boolean Remove(Connection conn)
- Removes a spatial layer from the database.
- Returns:
- returns a boolean value true or false.
Sample
public boolean Sample(Connection conn,
String old_table,
String new_table,
int ratio)
- Samples a spatial layer into another layer in the database.
- Returns:
- returns a boolean value true or false.
Create
public boolean Create(Connection conn,
String table,
int numoord,
int level,
int numtiles,
double lb1,
double ub1,
double tol1,
double lb2,
double ub2,
double tol2)
- Creates a hybrid-schema spatial layer in the database.
- Returns:
- returns a boolean value true or false.
CreateFixed
public boolean CreateFixed(Connection conn,
String table,
int numoord,
int level,
double lb1,
double ub1,
double tol1,
double lb2,
double ub2,
double tol2)
- Creates a fixed-schema spatial layer in the database.
- Returns:
- returns a boolean value true or false.
Insert
public boolean Insert(sdoGeometry sdogeom,
int updindex)
- Inserts a new geometry into this layer.
The geometry attributes such as id, type, and
sequence must be already defined.
The input parameter 'updindex' is not in use
at this time, but the idea is to update the
geometry index if this parameter is true.
- Returns:
- returns a boolean value true or false.
ImportAscii
public boolean ImportAscii(URL map)
- Imports an ascii file Y axis coordinate first and
X axis coordinate next.
- Returns:
- returns a boolean value true or false.
All Packages Class Hierarchy This Package Previous Next Index