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

Constructor Index

 o sdoUpdate()
Constructs a new sdoUpdate object.
 o sdoUpdate(sdoLayer, Connection, String)
Constructs a new sdoUpdate object with the input parameters.

Method Index

 o Create(Connection, String, int, int, int, double, double, double, double, double, double)
Creates a hybrid-schema spatial layer in the database.
 o CreateFixed(Connection, String, int, int, double, double, double, double, double, double)
Creates a fixed-schema spatial layer in the database.
 o ImportAscii(URL)
Imports an ascii file Y axis coordinate first and X axis coordinate next.
 o Insert(sdoGeometry, int)
Inserts a new geometry into this layer.
 o PopulateIndex(String, int, int, boolean, long)
Rebuilds the index file with hybrid schema.
 o PopulateIndexFixed(String, int, boolean, long)
Rebuilds the index file with fixed schema.
 o Remove(Connection)
Removes a spatial layer from the database.
 o Sample(Connection, String, String, int)
Samples a spatial layer into another layer in the database.
 o setParent(sdoLayer)
Associates the parent SDO layer.
 o setSDOdim(ObjectList)
Associates SDO dimension information.
 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 sdoUpdate
 public sdoUpdate()
Constructs a new sdoUpdate object.

 o sdoUpdate
 public sdoUpdate(sdoLayer parent,
                  Connection conn,
                  String table)
Constructs a new sdoUpdate object with the input parameters.

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 setParent
 public void setParent(sdoLayer parent)
Associates the parent SDO layer.

Parameters:
info - sdoInfo object of current SDO layer.
 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 setSDOdim
 public void setSDOdim(ObjectList dim)
Associates SDO dimension information.

Parameters:
dim - ObjectList object.
 o 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.
 o 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.
 o Remove
 public boolean Remove(Connection conn)
Removes a spatial layer from the database.

Returns:
returns a boolean value true or false.
 o 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.
 o 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.
 o 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.
 o 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.
 o 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