|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.spatial.network.lod.LODNetworkWrapper
public class LODNetworkWrapper
This is the wrapper class containing LOD related java stored procedures used by SDO_NET package.
| Field Summary | |
|---|---|
static int |
LEVEL_DEBUG |
static int |
LEVEL_ERROR |
static int |
LEVEL_FATAL |
static int |
LEVEL_FINEST |
static int |
LEVEL_INFO |
static int |
LEVEL_WARN |
| Method Summary | |
|---|---|
static void |
findConnectedComponents(java.lang.String networkName, int linkLevel, java.lang.String componentTable)Find the connected components and writes the node component relationship into component table. |
static void |
generatePartitionBlob(java.lang.String networkName, int linkLevel, int partitionId, boolean includeUserData)Writes partition BLOBs into partition blob table. |
static void |
generatePartitionBlobs(java.lang.String networkName, int linkLevel, java.lang.String partitionBlobTable, boolean includeUserData, boolean commitForEachBlob)Writes partition BLOBs into partition blob table. |
static long |
getPartitionSize(java.lang.String networkName, int partitionId, int linkLevel, boolean includeUserData, boolean includeSpatialData)Returns the approximated size of a network partition in bytes |
static void |
loadConfig(CLOB configXml)Reloads the configuration xml. |
static void |
setConnection(OracleConnection conn)Sets the JDBC connection to the database. |
static void |
setLoggingLevel(int level)Sets java global logging level. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int LEVEL_FATAL
public static final int LEVEL_ERROR
public static final int LEVEL_WARN
public static final int LEVEL_INFO
public static final int LEVEL_DEBUG
public static final int LEVEL_FINEST
| Method Detail |
|---|
public static void setConnection(OracleConnection conn)
conn - connection to the databasepublic static void setLoggingLevel(int level)
level - LOD logging level, which can take the following values:
public static void loadConfig(CLOB configXml)
throws LODNetworkException
configXml - configuration xmlLODNetworkException
public static void generatePartitionBlob(java.lang.String networkName,
int linkLevel,
int partitionId,
boolean includeUserData)
throws LODNetworkException
networkName - network namelinkLevel - link levelpartitionId - partition IDincludeUserData - is user defined data included in the BLOBLODNetworkException
public static void generatePartitionBlobs(java.lang.String networkName,
int linkLevel,
java.lang.String partitionBlobTable,
boolean includeUserData,
boolean commitForEachBlob)
throws LODNetworkException
networkName - network namelinkLevel - link levelpartitionBlobTable - partition BLOB table nameincludeUserData - is user defined data included in the BLOBsLODNetworkException
public static void findConnectedComponents(java.lang.String networkName,
int linkLevel,
java.lang.String componentTable)
throws LODNetworkException
networkName - network namelinkLevel - link levelcomponentTable - connected component table nameLODNetworkException
public static long getPartitionSize(java.lang.String networkName,
int partitionId,
int linkLevel,
boolean includeUserData,
boolean includeSpatialData)
throws LODNetworkException,
java.lang.Exception
networkName - network namepartitionId - partition IDlinkLevel - link levelincludeUserData - is user defined data included in the partitionincludeSpatialData - is spatial information included in the partitionLODNetworkExceptionjava.lang.Exception
|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||