|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.spatial.network.lod.LODNetworkManager
public class LODNetworkManager
This class is the entry point of all functionalities provides by the lod package.
Method Summary | |
---|---|
static CachedNetworkIO |
getCachedNetworkIO(java.sql.Connection conn, java.lang.String networkName, java.lang.String globalNetworkName, NetworkMetadata metadata) Returns the cached network I/O object for the specified network. |
static CachedNetworkIOWM |
getCachedNetworkIOWM(java.sql.Connection conn, java.lang.String networkName, java.lang.String globalNetworkName, NetworkMetadata metadata) Returns the cached network I/O object for the specified network. |
static ConfigManager |
getConfigManager() Returns the LOD configuration manager singleton. |
static OracleConnection |
getConnection(java.lang.String connectURL, java.lang.String user, java.lang.String password) Returns a new OracleConnection instance. |
static NetworkAnalyst |
getNetworkAnalyst(NetworkIO reader) Returns a new NetworkAnalyst instance, which uses the input network IO adaptor to retrieve information about the network. |
static NetworkIO |
getNetworkIO(java.sql.Connection conn, java.lang.String networkName, java.lang.String globalNetworkName, NetworkMetadata metadata) Returns the network I/O object for the specified network. |
static NetworkMetadata |
getNetworkMetadata(java.sql.Connection conn, java.lang.String networkName, java.lang.String globalNetworkName) Returns the network metadata for the specified network. |
static PartitionBlobTranslator |
getPartitionBlobTranslator(java.lang.String globalNetworkName) Returns a new partition blob translator instance for the specified network. |
static PartitionBlobTranslator |
getPartitionBlobTranslatorByClassName(java.lang.String translatorClassName) Returns a new partition blob translator instance for the specified class. |
static LODUserDataIO |
getUserDataIO(java.lang.String globalNetworkName) Returns a new LODUserDataIO instance for the specified network. |
static LODUserDataIO |
getUserDataIOByClassName(java.lang.String userDataIOClassName) Returns a new LODUserDataIO instance for the specified class. |
static java.lang.Object |
readNetworkConstraint(java.sql.Connection conn, java.lang.String networkConstraintName) Reads in the given network constraint from the database to memory |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static OracleConnection getConnection(java.lang.String connectURL, java.lang.String user, java.lang.String password) throws java.sql.SQLException
connectURL
- database urluser
- database userpassword
- database passwordjava.sql.SQLException
public static NetworkAnalyst getNetworkAnalyst(NetworkIO reader) throws LODNetworkException
reader
- the cached network IO adaptorLODNetworkException
public static NetworkMetadata getNetworkMetadata(java.sql.Connection conn, java.lang.String networkName, java.lang.String globalNetworkName) throws LODNetworkException
conn
- database connection for the networknetworkName
- network nameglobalNetworkName
- global network name that is used as the cache key for the network metadata. globalNetworkName should be unique across different connections as well as different subnetworks with the same master network.LODNetworkException
public static NetworkIO getNetworkIO(java.sql.Connection conn, java.lang.String networkName, java.lang.String globalNetworkName, NetworkMetadata metadata) throws LODNetworkException
conn
- database connection for the networknetworkName
- network nameglobalNetworkName
- global network name. globalNetworkName should be unique across different connections as well as different subnetworks with the same master network.metadata
- network metadata. If not null, the input metadata will be used for the returning network I/O object; Otherwise, the network metadata will be retrieved from the database and assigned to the returning network I/O object.LODNetworkException
public static CachedNetworkIO getCachedNetworkIO(java.sql.Connection conn, java.lang.String networkName, java.lang.String globalNetworkName, NetworkMetadata metadata) throws LODNetworkException
conn
- database connection for the networknetworkName
- network nameglobalNetworkName
- global network name that is used as the cache key for the network reader. globalNetworkName should be unique across different connections as well as different subnetworks with the same master network.metadata
- network metadata. If not null, the input metadata will be used for the returning network I/O object; Otherwise, the network metadata will be retrieved from the database and assigned to the returning network I/O object.LODNetworkException
public static CachedNetworkIOWM getCachedNetworkIOWM(java.sql.Connection conn, java.lang.String networkName, java.lang.String globalNetworkName, NetworkMetadata metadata) throws LODNetworkException
conn
- database connection for the networknetworkName
- network nameglobalNetworkName
- global network name that is used as the cache key for the network reader. globalNetworkName should be unique across different connections as well as different subnetworks with the same master network.metadata
- network metadata. If not null, the input metadata will be used for the returning network I/O object; Otherwise, the network metadata will be retrieved from the database and assigned to the returning network I/O object.LODNetworkException
public static PartitionBlobTranslator getPartitionBlobTranslator(java.lang.String globalNetworkName)
globalNetworkName
- global network name, which is the value of the networkName element in LOD configuration xml. globalNetworkName should be unique across different connections as well as different subnetworks with the same master network.public static PartitionBlobTranslator getPartitionBlobTranslatorByClassName(java.lang.String translatorClassName)
translatorClassName
- full class name of the partition blob translatorpublic static LODUserDataIO getUserDataIO(java.lang.String globalNetworkName)
globalNetworkName
- global network name, which is the value of the networkName element in LOD configuration xml. globalNetworkName should be unique across different connections as well as different subnetworks with the same master network.public static LODUserDataIO getUserDataIOByClassName(java.lang.String userDataIOClassName)
userDataIOClassName
- full class name of the LODUserDataIO classpublic static ConfigManager getConfigManager()
public static java.lang.Object readNetworkConstraint(java.sql.Connection conn, java.lang.String networkConstraintName) throws java.sql.SQLException, NetworkDataException, java.lang.ClassNotFoundException, java.lang.InstantiationException, java.lang.IllegalAccessException
conn
- database connectionnetworkConstraintName
- the name of the network constraintjava.sql.SQLException
NetworkDataException
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
|
Oracle® Spatial Java API Reference 11g Release 1 (11.1) B28401-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |