|
Oracle® Spatial Java API Reference 11g Release 2 (11.2) E11829-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface NetworkIO
This interface defines methods to read/write network information from/to a datasource.
| Method Summary | |
|---|---|
void |
commit()Sends out commit command to the database. |
void |
deleteNetworkBuffer(long id)Deletes the network buffer from the database. |
void |
deletePath(long pathId)Deletes path. |
void |
deletePaths(long[] pathIds)Deletes paths. |
void |
deleteSubPath(long subPathId)Deletes sub-path. |
void |
deleteSubPaths(long[] subPathIds)Deletes sub-paths. |
void |
generatePartitionBlob(int partitionId, int linkLevel, boolean includeUserData)Deprecated. |
void |
generatePartitionBlob(int partitionId, int linkLevel, boolean includeUserData, boolean performDeltaUpdate)Generates partition BLOB for the specified partition. |
void |
generatePartitionBlobs(boolean includeUserData, boolean commitForEachBlob, boolean performDeltaUpdate)Generates partition BLOBs for all link levels. |
void |
generatePartitionBlobs(int linkLevel, boolean includeUserData, boolean commitForEachBlob)Deprecated. use generatePartitionBlobs(int linkLevel, boolean includeUserData, boolean commitForEachBlob, boolean performDeltaUpdate) |
void |
generatePartitionBlobs(int linkLevel, boolean includeUserData, boolean commitForEachBlob, boolean performDeltaUpdate)Generates partition BLOBs for the specified link level. |
java.lang.String |
getGlobalNetworkName()Returns the global network name, i.e., the network name that is globally unique, and is used as the cache key for the network. |
oracle.spatial.network.lod.LODNetworkAdaptor |
getNetworkAdaptor()Returns the network adaptor |
NetworkMetadata |
getNetworkMetadata()Returns the network metadata. |
long |
getNextTmpLinkId()Returns the next temporary link ID. |
long |
getNextTmpNodeId()Returns the next temporary node ID. |
LODUserDataIO[] |
getUserDataIOs()Returns the user data IO implementation. |
boolean[] |
hasLinks(long[] linkIds)Checks whether the input links exist or not |
boolean[] |
hasNodes(long[] nodeIds)Checks whether the input nodes exist or not |
boolean[] |
isLinksExist(long[] linkIds)Deprecated. use hasLinks |
boolean[] |
isNodesExist(long[] nodeIds)Deprecated. use hasNodes |
java.io.OutputStream |
openPartitionBlobOutputStream(int partitionId, int linkLevel)Opens the partition BLOB output stream. |
LongHashMap<int[]> |
readAdjacentPartitionIdsForLinks(long[] linkIds, int linkLevel)Retrieves the relevant partition IDs for the specified node IDs. |
LongHashMap<int[]> |
readAdjacentPartitionIdsForNodes(long[] nodeIds, int linkLevel)Retrieves the adjacent partition IDs for the specified node IDs. |
LogicalLink |
readArbitraryLogicalLink(int linkLevel, int[] userDataCategories)Returns an arbitrary link from the specified link level. |
LogicalLink[] |
readArbitraryLogicalLinks(int linkLevel, int numberOfLinks, int[] userDataCategories)Returns an array of arbitrary links from the specified link level. |
LogicalNode |
readArbitraryLogicalNode(int linkLevel, int[] userDataCategories)Returns an arbitrary node from the specified link level. |
LogicalNode[] |
readArbitraryLogicalNodes(int linkLevel, int numberOfNodes, int[] userDataCategories)Returns an array of arbitrary nodes from the specified link level. |
int |
readComponentId(long nodeId, int linkLevel)Retrieves the component ID assigned to the specified node ID. |
int[] |
readComponentIds(int linkLevel)Retrieves the component IDs stored in the connected component table. |
long[] |
readLinkIds(int linkLevel) |
int[] |
readLinkPartitionIds(long[] linkIds, int linkLevel)Retrieves the partition IDs for the specified links. |
int[] |
readLinkPartitionIds(long linkId, int linkLevel)Retrieves the partition IDs for the specified link. |
LogicalHeavyPath |
readLogicalHeavyPath(LogicalPath path, boolean includeUserData)Deprecated. use ...(..., int[] userDataCategories, ...) |
LogicalHeavyPath |
readLogicalHeavyPath(LogicalPath path, int[] userDataCategories)Retrieves node and link information for the specified logical path. |
LogicalHeavyPath[] |
readLogicalHeavyPaths(LogicalPath[] paths, boolean includeUserData)Deprecated. use ...(..., int[] userDataCategories, ...) |
LogicalHeavyPath[] |
readLogicalHeavyPaths(LogicalPath[] paths, int[] userDataCategories)Retrieves node and link information for the specified logical paths. |
LogicalLink |
readLogicalLink(long linkId, boolean includeUserData)Deprecated. use ...(..., int[] userDataCategories, ...) |
LogicalLink |
readLogicalLink(long linkId, int[] userDataCategories)Retrieves the standalone logical link, i.e., the logical link without references to the start and end nodes, for the specified link ID. |
LogicalLink[] |
readLogicalLinks(int linkLevel, int[] userDataCategories)Returns the links on the specified link level. |
LogicalLink[] |
readLogicalLinks(long[] linkIds, boolean includeUserData)Deprecated. use ...(..., int[] userDataCategories, ...) |
LogicalLink[] |
readLogicalLinks(long[] linkIds, int[] userDataCategories)Retrieves the standalone logical links, i.e., the logical link without references to the start and end nodes, for the specified link ID. |
LogicalBasicNetwork |
readLogicalNetwork(int linkLevel, boolean includeUserData)Deprecated. use ...(..., int[] userDataCategories, ...) |
LogicalBasicNetwork |
readLogicalNetwork(int linkLevel, boolean includeUserData, boolean readFromBlob)Deprecated. use ...(..., int[] userDataCategories, ...) |
LogicalBasicNetwork |
readLogicalNetwork(int linkLevel, int[] userDataCategories)Retrieves the logical network. |
LogicalBasicNetwork |
readLogicalNetwork(int linkLevel, int[] userDataCategories, boolean readFromBlob)Retrieves the logical network. |
LogicalNode |
readLogicalNode(long nodeId, boolean includeUserData)Deprecated. use ...(..., int[] userDataCategories, ...) |
LogicalNode |
readLogicalNode(long nodeId, int[] userDataCategories)Retrieves the standalone logical node, i.e., the logical node without references to incoming and outgoing links, for the specified node ID. |
LogicalNode[] |
readLogicalNodes(int linkLevel, int[] userDataCategories)Returns the nodes on the specified link level. |
LogicalNode[] |
readLogicalNodes(long[] nodeIds, boolean includeUserData)Retrieves the standalone logical nodes, i.e., the logical nodes without references to incoming and outgoing links, for the specified node IDs. |
LogicalNode[] |
readLogicalNodes(long[] nodeIds, int[] userDataCategories)Retrieves the standalone logical nodes, i.e., the logical nodes without references to incoming and outgoing links, for the specified node IDs. |
LogicalPartition |
readLogicalPartition(int partitionId, int linkLevel, boolean includeUserData)Deprecated. use ...(..., int[] userDataCategories, ...) |
LogicalPartition |
readLogicalPartition(int partitionId, int linkLevel, boolean includeUserData, boolean readFromBlob)Deprecated. use ...(..., int[] userDataCategories, ...) |
LogicalPartition |
readLogicalPartition(int partitionId, int linkLevel, int[] userDataCategories)Retrieves the logical network partition for the specified partition ID. |
LogicalPartition |
readLogicalPartition(int partitionId, int linkLevel, int[] userDataCategories, boolean readFromBlob)Retrieves the logical network partition for the specified partition ID. |
LogicalPartition[] |
readLogicalPartitions(int linkLevel, boolean includeUserData)Deprecated. use ...(..., int[] userDataCategories, ...) |
LogicalPartition[] |
readLogicalPartitions(int linkLevel, boolean includeUserData, boolean readFromBlob)Deprecated. use ...(..., int[] userDataCategories, ...) |
LogicalPartition[] |
readLogicalPartitions(int linkLevel, int[] userDataCategories)Retrieves all the logical network partitions in this network. |
LogicalPartition[] |
readLogicalPartitions(int linkLevel, int[] userDataCategories, boolean readFromBlob)Retrieves all the logical network partitions. |
LogicalPath |
readLogicalPath(long pathId, boolean includeUserData)Deprecated. use ...(..., int[] userDataCategories, ...) |
LogicalPath |
readLogicalPath(long pathId, int[] userDataCategories)Retrieves the logical path for the specified path ID. |
LogicalPath[] |
readLogicalPaths(long[] pathIds, boolean includeUserData)Deprecated. use ...(..., int[] userDataCategories, ...) |
LogicalPath[] |
readLogicalPaths(long[] pathIds, int[] userDataCategories)Retrieves the logical paths for the specified path IDs. |
LogicalSubPath |
readLogicalSubPath(long subPathId, boolean includeUserData)Deprecated. use ...(..., int[] userDataCategories, ...) |
LogicalSubPath |
readLogicalSubPath(long subPathId, int[] userDataCategories)Retrieves the logical subpath for the specified subpath ID. |
LogicalSubPath[] |
readLogicalSubPaths(long[] subPathIds, boolean includeUserData)Deprecated. use ...(..., int[] userDataCategories, ...) |
LogicalSubPath[] |
readLogicalSubPaths(long[] subPathIds, int[] userDataCategories)Retrieves the logical subpaths for the specified subpath IDs. |
int |
readMaximumIncomingLinkLevel(long nodeId)Retrieves the maximum link level of the incoming links connected to the specified node. |
int |
readMaximumLinkLevel()Retrieves the maximum link level of the network. |
int |
readMaximumLinkLevel(long nodeId)Retrieves the maximum link level of the links connected to the specified node. |
int |
readMaximumOutgoingLinkLevel(long nodeId)Retrieves the maximum link level of the outgoing links connected to the specified node. |
NetworkBuffer |
readNetworkBuffer(long bufferId)Reads the network buffer with the specified buffer ID. |
NetworkUpdate |
readNetworkUpdate(int linkLevel, java.util.Calendar lastUpdateTime, int[] userDataCategories) |
NetworkUpdate |
readNetworkUpdate(int linkLevel, long[] changedNodeIds, long[] changedLinkIds, int[] userDataCategories)Constructs network update object according to the changed node and link IDs. |
NetworkUpdate |
readNetworkUpdate(int linkLevel, long[] updatedNodeIds, long[] deletedNodeIds, long[] updatedLinkIds, long[] deletedLinkIds, int[] userDataCategories)Constructs network update object according to the changed node and link IDs. |
NetworkUpdate[] |
readNetworkUpdates(java.util.Calendar lastUpdateTime, int[] userDataCategories) |
long[] |
readNodeIds(int linkLevel)Retrieves the array of node IDs in the network. |
int |
readNodePartitionId(long nodeId, int linkLevel)Retrieves the partition ID for the specified node ID. |
int[] |
readNodePartitionIds(long[] nodeIds, int linkLevel)Retrieves the partition IDs for the specified node IDs. |
int |
readNumberOfConnectedComponents(int linkLevel)Retrieves the number of connected components stored in the component table. |
int |
readNumberOfLinkLevels()Retrieves the number of link levels. |
int |
readNumberOfLinks(int linkLevel)Retrieves the number of links in the network. |
int |
readNumberOfNodes(int linkLevel)Retrieves the number of nodes in the network. |
int |
readNumberOfPartitions(int linkLevel)Retrieves the number of partitions in the network. |
int |
readPartitionId(long nodeId, int linkLevel)Deprecated. use readNodePartitionId |
int[] |
readPartitionIds(int linkLevel)Retrieves all the partition IDs in the network. |
int[] |
readPartitionIds(long[] nodeIds, int linkLevel)Deprecated. use readNodePartitionIds |
SpatialHeavyPath |
readSpatialHeavyPath(LogicalPath path, boolean includeUserData)Deprecated. use ...(..., int[] userDataCategories, ...) |
SpatialHeavyPath |
readSpatialHeavyPath(LogicalPath path, int[] userDataCategories)Retrieves node and link information for the specified logical paths. |
SpatialHeavyPath[] |
readSpatialHeavyPaths(LogicalPath[] paths, boolean includeUserData)Deprecated. use ...(..., int[] userDataCategories, ...) |
SpatialHeavyPath[] |
readSpatialHeavyPaths(LogicalPath[] paths, int[] userDataCategories)Retrieves node and link information for the specified logical paths. |
SpatialLink |
readSpatialLink(long linkId, boolean includeUserData)Deprecated. use ...(..., int[] userDataCategories, ...) |
SpatialLink |
readSpatialLink(long linkId, int[] userDataCategories)Retrieves the spatial link for the specified link ID. |
SpatialLink[] |
readSpatialLinks(long[] linkIds, boolean includeUserData)Deprecated. use ...(..., int[] userDataCategories, ...) |
SpatialLink[] |
readSpatialLinks(long[] linkIds, int[] userDataCategories)Retrieves the spatial links for the specified link IDs. |
SpatialBasicNetwork |
readSpatialNetwork(LogicalBasicNetwork logicalNetwork)Retrieves spatial information for the logical network, and returns the spatial network. |
SpatialNode |
readSpatialNode(long nodeId, boolean includeUserData)Deprecated. use ...(..., int[] userDataCategories, ...) |
SpatialNode |
readSpatialNode(long nodeId, int[] userDataCategories)Retrieves the spatial node for the specified node ID. |
SpatialNode[] |
readSpatialNodes(long[] nodeIds, boolean includeUserData)Deprecated. use ...(..., int[] userDataCategories, ...) |
SpatialNode[] |
readSpatialNodes(long[] nodeIds, int[] userDataCategories)Retrieves the spatial nodes for the specified node IDs. |
SpatialPartition |
readSpatialPartition(int partitionId, int linkLevel, boolean includeUserData)Retrieves spatial partition. |
SpatialPartition |
readSpatialPartition(int partitionId, int linkLevel, boolean includeUserData, boolean readFromBlob)Deprecated. use ...(..., int[] userDataCategories, ...) |
SpatialPartition |
readSpatialPartition(int partitionId, int linkLevel, int[] userDataCategories)Deprecated. use ...(..., int[] userDataCategories, ...) |
SpatialPartition |
readSpatialPartition(int partitionId, int linkLevel, int[] userDataCategories, boolean readFromBlob)Retrieves spatial partition. |
SpatialPartition |
readSpatialPartition(LogicalPartition logicalPartition)Retrieves spatial information for the logical network partition, and returns the spatial network partition. |
JGeometry |
readSpatialPartitionMBR(int partitionId, int linkLevel)Returns the minimum bounding rectangle (MBR) encompassing all the nodes in the specified partition. |
java.util.Map<java.lang.Integer,JGeometry> |
readSpatialPartitionMBRs(int linkLevel)Returns the minimum bounding rectangles (MBR) of all the partitions in this network. |
SpatialPath |
readSpatialPath(LogicalPath logicalPath)Retrieves the spatial information for the specified logical path, and returns the spatial path. |
SpatialPath |
readSpatialPath(long pathId, boolean includeUserData)Deprecated. use ...(..., int[] userDataCategories, ...) |
SpatialPath |
readSpatialPath(long pathId, int[] userDataCategories)Retrieves the spatial path for the specified path ID. |
SpatialPath[] |
readSpatialPaths(LogicalPath[] logicalPath)Retrieves the spatial information for the specified logical path, and returns the spatial path. |
SpatialPath[] |
readSpatialPaths(long[] pathIds, boolean includeUserData)Deprecated. use ...(..., int[] userDataCategories, ...) |
SpatialPath[] |
readSpatialPaths(long[] pathIds, int[] userDataCategories)Retrieves the spatial path for the specified path ID. |
SpatialSubPath |
readSpatialSubPath(LogicalSubPath logicalSubPath)Retrieves the spatial information of the specified logical subpath, and returns the spatial subpath. |
SpatialSubPath |
readSpatialSubPath(long subPathId, boolean includeUserData)Deprecated. use ...(..., int[] userDataCategories, ...) |
SpatialSubPath |
readSpatialSubPath(long subPathId, int[] userDataCategories)Retrieves the spatial subpath information. |
SpatialSubPath[] |
readSpatialSubPaths(LogicalSubPath[] logicalSubPaths)Retrieves the spatial information of the specified logical subpaths, and returns the spatial subpath. |
SpatialSubPath[] |
readSpatialSubPaths(long[] subPathIds, boolean includeUserData)Deprecated. use ...(..., int[] userDataCategories, ...) |
SpatialSubPath[] |
readSpatialSubPaths(long[] subPathIds, int[] userDataCategories)Retrieves the spatial subpath information. |
void |
readUserData(LogicalPartition partition, int[] userDataCategories)Add user data information to the logical partition |
void |
rollback()Sends out rollback command to the database. |
void |
saveConnectedComponents(OrderedLongSet[] components, int linkLevel)Stores the connected components information in the component table. |
void |
setNetworkAdaptor(oracle.spatial.network.lod.LODNetworkAdaptor adaptor)Sets the network adaptor. |
void |
setNetworkMetadata(NetworkMetadata metadata)Sets network metadata |
void |
setUserDataIOs(LODUserDataIO[] udios)Sets the user data IO implementation. |
void |
updatePartitionBlobInfo(int partitionId, int linkLevel, int numberOfInternalNodes, int numberOfExternalNodes, int numberOfInternalLinks, int numberOfBoundaryLinks, int numberOfIncomingLinks, int numberOfOutgoingLinks, boolean isUserDataIncluded)Updates the partition BLOB info in the partition BLOB table. |
long |
writeNetworkBuffer(NetworkBuffer buffer)Stores the network buffer into the database. |
void |
writeNetworkBuffer(NetworkBuffer buffer, long bufferId)Stores the network buffer into the database. |
void |
writePath(LogicalPath path, long pathId, java.lang.String pathName, java.lang.String pathType)Stores a path in the database. |
long |
writePath(LogicalPath path, java.lang.String pathName, java.lang.String pathType)Stores a path in the database. |
void |
writeSubPath(LogicalSubPath subPath, long subPathId, long referencePathId, java.lang.String subPathName, java.lang.String subPathType)Stores a sub-path in the database. |
long |
writeSubPath(LogicalSubPath subPath, long referencePathId, java.lang.String subPathName, java.lang.String subPathType)Stores a sub-path in the database. |
| Method Detail |
|---|
java.lang.String getGlobalNetworkName()
oracle.spatial.network.lod.LODNetworkAdaptor getNetworkAdaptor()
void setNetworkAdaptor(oracle.spatial.network.lod.LODNetworkAdaptor adaptor)
adaptor - network adaptorNetworkMetadata getNetworkMetadata()
void setNetworkMetadata(NetworkMetadata metadata)
metadata - network metadataLODUserDataIO[] getUserDataIOs()
void setUserDataIOs(LODUserDataIO[] udios)
udios -
void commit()
throws LODNetworkException
LODNetworkException
void rollback()
throws LODNetworkException
LODNetworkException
boolean[] isNodesExist(long[] nodeIds)
throws LODNetworkException
nodeIds - IDs of the nodesLODNetworkException
boolean[] hasNodes(long[] nodeIds)
throws LODNetworkException
nodeIds - IDs of the nodesLODNetworkException
boolean[] isLinksExist(long[] linkIds)
throws LODNetworkException
linkIds - IDs of the linksLODNetworkException
boolean[] hasLinks(long[] linkIds)
throws LODNetworkException
linkIds - IDs of the linksLODNetworkException
java.io.OutputStream openPartitionBlobOutputStream(int partitionId,
int linkLevel)
throws LODNetworkException
partitionId - partition IDlinkLevel - link levelLODNetworkException
void updatePartitionBlobInfo(int partitionId,
int linkLevel,
int numberOfInternalNodes,
int numberOfExternalNodes,
int numberOfInternalLinks,
int numberOfBoundaryLinks,
int numberOfIncomingLinks,
int numberOfOutgoingLinks,
boolean isUserDataIncluded)
throws LODNetworkException
partitionId - partition IDlinkLevel - link levelnumberOfInternalNodes - number of internal nodesnumberOfExternalNodes - number of external nodesnumberOfInternalLinks - number of internal linksnumberOfBoundaryLinks - number of boundary linksnumberOfIncomingLinks - number of incoming linksnumberOfOutgoingLinks - number of outgoing linksisUserDataIncluded - whether user data is included in the partition BLOB or notLODNetworkException
int readNumberOfNodes(int linkLevel)
throws LODNetworkException
linkLevel - link levelLODNetworkException
int readNumberOfLinks(int linkLevel)
throws LODNetworkException
linkLevel - link levelLODNetworkException
long[] readNodeIds(int linkLevel)
throws LODNetworkException
linkLevel - link levelLODNetworkException
long[] readLinkIds(int linkLevel)
throws LODNetworkException
LODNetworkException
LogicalNode[] readLogicalNodes(int linkLevel,
int[] userDataCategories)
throws LODNetworkException
linkLevel - link leveluserDataCategories - user data categories to be loadedLODNetworkException
LogicalLink[] readLogicalLinks(int linkLevel,
int[] userDataCategories)
throws LODNetworkException
linkLevel - link leveluserDataCategories - user data categories to be loadedLODNetworkException
LogicalNode[] readArbitraryLogicalNodes(int linkLevel,
int numberOfNodes,
int[] userDataCategories)
throws LODNetworkException
linkLevel - link levelnumberOfNodes - number of nodesuserDataCategories - user data categories to be includedLODNetworkException
LogicalLink[] readArbitraryLogicalLinks(int linkLevel,
int numberOfLinks,
int[] userDataCategories)
throws LODNetworkException
linkLevel - link levelnumberOfLinks - number of linksuserDataCategories - user data categories to be includedLODNetworkException
LogicalNode readArbitraryLogicalNode(int linkLevel,
int[] userDataCategories)
throws LODNetworkException
linkLevel - link leveluserDataCategories - user data categories to be includedLODNetworkException
LogicalLink readArbitraryLogicalLink(int linkLevel,
int[] userDataCategories)
throws LODNetworkException
linkLevel - link leveluserDataCategories - user data categories to be includedLODNetworkException
LogicalBasicNetwork readLogicalNetwork(int linkLevel,
boolean includeUserData,
boolean readFromBlob)
throws LODNetworkException
linkLevel - link levelincludeUserData - whether to include user data or notreadFromBlob - whether to read from BLOBs or from tableLODNetworkException
LogicalBasicNetwork readLogicalNetwork(int linkLevel,
int[] userDataCategories,
boolean readFromBlob)
throws LODNetworkException
linkLevel - link leveluserDataCategories - user data categories to be includedreadFromBlob - whether to read from BLOBs or from tableLODNetworkException
LogicalBasicNetwork readLogicalNetwork(int linkLevel,
boolean includeUserData)
throws LODNetworkException
linkLevel - link levelincludeUserData - whether to include user data or notLODNetworkException
LogicalBasicNetwork readLogicalNetwork(int linkLevel,
int[] userDataCategories)
throws LODNetworkException
linkLevel - link leveluserDataCategories - user data categories to be includedLODNetworkException
LogicalPartition readLogicalPartition(int partitionId,
int linkLevel,
boolean includeUserData,
boolean readFromBlob)
throws LODNetworkException
partitionId - partition IDlinkLevel - link levelincludeUserData - whether to include user data or notreadFromBlob - whether to read from BLOBs or from tableLODNetworkException
LogicalPartition readLogicalPartition(int partitionId,
int linkLevel,
int[] userDataCategories,
boolean readFromBlob)
throws LODNetworkException
partitionId - partition IDlinkLevel - link leveluserDataCategories - user data categories to be includedreadFromBlob - whether to read from BLOBs or from tableLODNetworkException
LogicalPartition readLogicalPartition(int partitionId,
int linkLevel,
boolean includeUserData)
throws LODNetworkException
partitionId - partition IDlinkLevel - link levelincludeUserData - whether to include user data or notLODNetworkException
LogicalPartition readLogicalPartition(int partitionId,
int linkLevel,
int[] userDataCategories)
throws LODNetworkException
partitionId - partition IDlinkLevel - link leveluserDataCategories - user data categories to be includedLODNetworkException
LogicalPartition[] readLogicalPartitions(int linkLevel,
boolean includeUserData,
boolean readFromBlob)
throws LODNetworkException
linkLevel - link levelincludeUserData - whether to include user data or notreadFromBlob - whether to read from BLOBs or from tableLODNetworkException
LogicalPartition[] readLogicalPartitions(int linkLevel,
int[] userDataCategories,
boolean readFromBlob)
throws LODNetworkException
linkLevel - link leveluserDataCategories - user data categories to be includedreadFromBlob - whether to read from BLOBs or from tableLODNetworkException
LogicalPartition[] readLogicalPartitions(int linkLevel,
boolean includeUserData)
throws LODNetworkException
linkLevel - link levelincludeUserData - whether to include user data or notLODNetworkException
LogicalPartition[] readLogicalPartitions(int linkLevel,
int[] userDataCategories)
throws LODNetworkException
linkLevel - link leveluserDataCategories - user data categories to be includedLODNetworkException
void readUserData(LogicalPartition partition,
int[] userDataCategories)
throws LODNetworkException
partition - logical partitionuserDataCategories - user data categories to be includedLODNetworkException
int readPartitionId(long nodeId,
int linkLevel)
throws LODNetworkException
nodeId - node IDlinkLevel - link levelLODNetworkException
int[] readPartitionIds(long[] nodeIds,
int linkLevel)
throws LODNetworkException
nodeIds - node IDslinkLevel - link levelLODNetworkException
int readNodePartitionId(long nodeId,
int linkLevel)
throws LODNetworkException
nodeId - node IDlinkLevel - link levelLODNetworkException
int[] readNodePartitionIds(long[] nodeIds,
int linkLevel)
throws LODNetworkException
nodeIds - node IDslinkLevel - link levelLODNetworkException
int[] readLinkPartitionIds(long linkId,
int linkLevel)
throws LODNetworkException
linkId - link IDlinkLevel - link levelLODNetworkException
int[] readLinkPartitionIds(long[] linkIds,
int linkLevel)
throws LODNetworkException
linkIds - link IDslinkLevel - link levelLODNetworkException
LongHashMap<int[]> readAdjacentPartitionIdsForNodes(long[] nodeIds,
int linkLevel)
throws LODNetworkException
nodeIds - node IDslinkLevel - link levelLODNetworkException
LongHashMap<int[]> readAdjacentPartitionIdsForLinks(long[] linkIds,
int linkLevel)
throws LODNetworkException
linkIds - link IDslinkLevel - link levelLODNetworkException
int[] readPartitionIds(int linkLevel)
throws LODNetworkException
linkLevel - link levelLODNetworkException
int readNumberOfPartitions(int linkLevel)
throws LODNetworkException
linkLevel - link levelLODNetworkException
int readNumberOfConnectedComponents(int linkLevel)
throws LODNetworkException
linkLevel - link levelLODNetworkException
int[] readComponentIds(int linkLevel)
throws LODNetworkException
linkLevel - link levelLODNetworkException
int readComponentId(long nodeId,
int linkLevel)
throws LODNetworkException
nodeId - node IDlinkLevel - link levelLODNetworkException
LogicalLink readLogicalLink(long linkId,
boolean includeUserData)
throws LODNetworkException
linkId - link IDincludeUserData - whether to include the userdata or notLODNetworkException
LogicalLink readLogicalLink(long linkId,
int[] userDataCategories)
throws LODNetworkException
linkId - link IDuserDataCategories - user data categories to be includedLODNetworkException
LogicalLink[] readLogicalLinks(long[] linkIds,
boolean includeUserData)
throws LODNetworkException
linkIds - link IDincludeUserData - whether to include the userdata or notLODNetworkException
LogicalLink[] readLogicalLinks(long[] linkIds,
int[] userDataCategories)
throws LODNetworkException
linkIds - link IDuserDataCategories -LODNetworkException
LogicalNode readLogicalNode(long nodeId,
boolean includeUserData)
throws LODNetworkException
nodeId - node IDincludeUserData - whether to include the userdata or notLODNetworkException
LogicalNode[] readLogicalNodes(long[] nodeIds,
boolean includeUserData)
throws LODNetworkException
nodeIds - node IDsincludeUserData - whether to include the userdata or notLODNetworkException
LogicalNode readLogicalNode(long nodeId,
int[] userDataCategories)
throws LODNetworkException
nodeId - node IDuserDataCategories -LODNetworkException
LogicalNode[] readLogicalNodes(long[] nodeIds,
int[] userDataCategories)
throws LODNetworkException
nodeIds - node IDsuserDataCategories -LODNetworkException
LogicalPath readLogicalPath(long pathId,
boolean includeUserData)
throws LODNetworkException
pathId - path IDincludeUserData - whether to include the userdata or notLODNetworkException
LogicalPath[] readLogicalPaths(long[] pathIds,
boolean includeUserData)
throws LODNetworkException
pathIds - path IDsincludeUserData - whether to include the userdata or notLODNetworkException
LogicalPath readLogicalPath(long pathId,
int[] userDataCategories)
throws LODNetworkException
pathId - path IDuserDataCategories -LODNetworkException
LogicalPath[] readLogicalPaths(long[] pathIds,
int[] userDataCategories)
throws LODNetworkException
pathIds - path IDsuserDataCategories -LODNetworkException
LogicalSubPath readLogicalSubPath(long subPathId,
boolean includeUserData)
throws LODNetworkException
subPathId - subpath IDincludeUserData - whether to include the userdata or notLODNetworkException
LogicalSubPath[] readLogicalSubPaths(long[] subPathIds,
boolean includeUserData)
throws LODNetworkException
subPathIds - subpath IDsincludeUserData - whether to include the userdata or notLODNetworkException
LogicalSubPath readLogicalSubPath(long subPathId,
int[] userDataCategories)
throws LODNetworkException
subPathId - subpath IDuserDataCategories -LODNetworkException
LogicalSubPath[] readLogicalSubPaths(long[] subPathIds,
int[] userDataCategories)
throws LODNetworkException
subPathIds - subpath IDsuserDataCategories -LODNetworkException
LogicalHeavyPath readLogicalHeavyPath(LogicalPath path,
boolean includeUserData)
throws LODNetworkException
path - logical path without detailed node and link informationincludeUserData - whether to include user data or notLODNetworkException
LogicalHeavyPath[] readLogicalHeavyPaths(LogicalPath[] paths,
boolean includeUserData)
throws LODNetworkException
paths - logical paths without detailed node and link informationincludeUserData - whether to include user data or notLODNetworkException
LogicalHeavyPath readLogicalHeavyPath(LogicalPath path,
int[] userDataCategories)
throws LODNetworkException
path - logical path without detailed node and link informationuserDataCategories -LODNetworkException
LogicalHeavyPath[] readLogicalHeavyPaths(LogicalPath[] paths,
int[] userDataCategories)
throws LODNetworkException
paths - logical paths without detailed node and link informationuserDataCategories -LODNetworkException
SpatialBasicNetwork readSpatialNetwork(LogicalBasicNetwork logicalNetwork)
throws LODNetworkException
logicalNetwork - logical networkLODNetworkException
SpatialPartition readSpatialPartition(LogicalPartition logicalPartition)
throws LODNetworkException
logicalPartition - logical network partitionLODNetworkException
SpatialPartition readSpatialPartition(int partitionId,
int linkLevel,
int[] userDataCategories)
throws LODNetworkException
partitionId - partitionIdlinkLevel - linkLeveluserDataCategories - user data categoriesLODNetworkException
SpatialPartition readSpatialPartition(int partitionId,
int linkLevel,
boolean includeUserData)
throws LODNetworkException
partitionId - partitionIdlinkLevel - linkLevelincludeUserData - whether to include user data or notLODNetworkException
SpatialPartition readSpatialPartition(int partitionId,
int linkLevel,
boolean includeUserData,
boolean readFromBlob)
throws LODNetworkException
partitionId - partitionIdlinkLevel - linkLevelincludeUserData - whether to include user data or notreadFromBlob - whether to read from BLOB or notLODNetworkException
SpatialPartition readSpatialPartition(int partitionId,
int linkLevel,
int[] userDataCategories,
boolean readFromBlob)
throws LODNetworkException
partitionId - partitionIdlinkLevel - linkLeveluserDataCategories - user data categoriesreadFromBlob - whether to read from BLOB or notLODNetworkException
JGeometry readSpatialPartitionMBR(int partitionId,
int linkLevel)
throws LODNetworkException
partitionId - partition IDlinkLevel - link levelLODNetworkException
java.util.Map<java.lang.Integer,JGeometry> readSpatialPartitionMBRs(int linkLevel)
throws LODNetworkException
linkLevel - link levelLODNetworkException
SpatialPath readSpatialPath(long pathId,
boolean includeUserData)
throws LODNetworkException
pathId - path IDincludeUserData - whether to include the userdata or notLODNetworkException
SpatialPath readSpatialPath(long pathId,
int[] userDataCategories)
throws LODNetworkException
pathId - path IDuserDataCategories - user data categories to be includedLODNetworkException
SpatialPath[] readSpatialPaths(long[] pathIds,
boolean includeUserData)
throws LODNetworkException
pathIds - path IDincludeUserData - whether to include the userdata or notLODNetworkException
SpatialPath[] readSpatialPaths(long[] pathIds,
int[] userDataCategories)
throws LODNetworkException
pathIds - path IDuserDataCategories - user data categories to be includedLODNetworkException
SpatialPath readSpatialPath(LogicalPath logicalPath)
throws LODNetworkException
logicalPath - logical pathLODNetworkException
SpatialPath[] readSpatialPaths(LogicalPath[] logicalPath)
throws LODNetworkException
logicalPath - logical pathLODNetworkException
SpatialSubPath readSpatialSubPath(long subPathId,
boolean includeUserData)
throws LODNetworkException
subPathId - subpath IDincludeUserData - whether to include the userdata or notLODNetworkException
SpatialSubPath readSpatialSubPath(long subPathId,
int[] userDataCategories)
throws LODNetworkException
subPathId - subpath IDuserDataCategories - user data categories to be includedLODNetworkException
SpatialSubPath[] readSpatialSubPaths(long[] subPathIds,
boolean includeUserData)
throws LODNetworkException
subPathIds - subpath IDsincludeUserData - whether to include the userdata or notLODNetworkException
SpatialSubPath[] readSpatialSubPaths(long[] subPathIds,
int[] userDataCategories)
throws LODNetworkException
subPathIds - subpath IDsuserDataCategories - user data categories to be includedLODNetworkException
SpatialSubPath readSpatialSubPath(LogicalSubPath logicalSubPath)
throws LODNetworkException
logicalSubPath - logical subpathLODNetworkException
SpatialSubPath[] readSpatialSubPaths(LogicalSubPath[] logicalSubPaths)
throws LODNetworkException
logicalSubPaths - logical subpathLODNetworkException
SpatialHeavyPath readSpatialHeavyPath(LogicalPath path,
boolean includeUserData)
throws LODNetworkException
path - logical path without detailed node and link informationincludeUserData - whether to include user data or notLODNetworkException
SpatialHeavyPath readSpatialHeavyPath(LogicalPath path,
int[] userDataCategories)
throws LODNetworkException
path - logical path without detailed node and link informationuserDataCategories - user data categories to be includedLODNetworkException
SpatialHeavyPath[] readSpatialHeavyPaths(LogicalPath[] paths,
boolean includeUserData)
throws LODNetworkException
paths - logical paths without detailed node and link informationincludeUserData - whether to include user data or notLODNetworkException
SpatialHeavyPath[] readSpatialHeavyPaths(LogicalPath[] paths,
int[] userDataCategories)
throws LODNetworkException
paths - logical paths without detailed node and link informationuserDataCategories - user data categories to be includedLODNetworkException
SpatialLink readSpatialLink(long linkId,
boolean includeUserData)
throws LODNetworkException
linkId - link IDLODNetworkException
SpatialLink readSpatialLink(long linkId,
int[] userDataCategories)
throws LODNetworkException
linkId - link IDuserDataCategories - user data categories to be includedLODNetworkException
SpatialLink[] readSpatialLinks(long[] linkIds,
boolean includeUserData)
throws LODNetworkException
linkIds - link IDsLODNetworkException
SpatialLink[] readSpatialLinks(long[] linkIds,
int[] userDataCategories)
throws LODNetworkException
linkIds - link IDsuserDataCategories - user data categories to be includedLODNetworkException
SpatialNode readSpatialNode(long nodeId,
boolean includeUserData)
throws LODNetworkException
nodeId - node IDLODNetworkException
SpatialNode readSpatialNode(long nodeId,
int[] userDataCategories)
throws LODNetworkException
nodeId - node IDuserDataCategories - user data categories to be includedLODNetworkException
SpatialNode[] readSpatialNodes(long[] nodeIds,
boolean includeUserData)
throws LODNetworkException
nodeIds - node IDsLODNetworkException
SpatialNode[] readSpatialNodes(long[] nodeIds,
int[] userDataCategories)
throws LODNetworkException
nodeIds - node IDsuserDataCategories - user data categories to be includedLODNetworkException
int readNumberOfLinkLevels()
throws LODNetworkException
LODNetworkException
int readMaximumLinkLevel()
throws LODNetworkException
LODNetworkException
int readMaximumLinkLevel(long nodeId)
throws LODNetworkException
nodeId - node IDLODNetworkException
int readMaximumIncomingLinkLevel(long nodeId)
throws LODNetworkException
nodeId - node IDLODNetworkException
int readMaximumOutgoingLinkLevel(long nodeId)
throws LODNetworkException
nodeId - node IDLODNetworkException
NetworkUpdate readNetworkUpdate(int linkLevel,
long[] updatedNodeIds,
long[] deletedNodeIds,
long[] updatedLinkIds,
long[] deletedLinkIds,
int[] userDataCategories)
throws LODNetworkException
linkLevel - link levelupdatedNodeIds - new and updated node IDsdeletedNodeIds - deleted node IDsupdatedLinkIds - new and updated link IDsdeletedLinkIds - deleted link IDsLODNetworkException
NetworkUpdate readNetworkUpdate(int linkLevel,
long[] changedNodeIds,
long[] changedLinkIds,
int[] userDataCategories)
throws LODNetworkException
linkLevel - link levelchangedNodeIds - new, updated and deleted node IDschangedLinkIds - new, updated and deleted link IDsLODNetworkException
NetworkUpdate readNetworkUpdate(int linkLevel,
java.util.Calendar lastUpdateTime,
int[] userDataCategories)
throws LODNetworkException
LODNetworkException
NetworkUpdate[] readNetworkUpdates(java.util.Calendar lastUpdateTime,
int[] userDataCategories)
throws LODNetworkException
LODNetworkException
long writePath(LogicalPath path,
java.lang.String pathName,
java.lang.String pathType)
throws LODNetworkException
path - pathpathName - user specified path namepathType - user specified path typeLODNetworkException
void writePath(LogicalPath path,
long pathId,
java.lang.String pathName,
java.lang.String pathType)
throws LODNetworkException
path - pathpathId - path IDpathName - user specified path namepathType - user specified path typeLODNetworkException
long writeSubPath(LogicalSubPath subPath,
long referencePathId,
java.lang.String subPathName,
java.lang.String subPathType)
throws LODNetworkException
subPath - sub-pathreferencePathId - reference path IDsubPathName - user specified sub-path namesubPathType - user specified sub-path typeLODNetworkException
void writeSubPath(LogicalSubPath subPath,
long subPathId,
long referencePathId,
java.lang.String subPathName,
java.lang.String subPathType)
throws LODNetworkException
subPath - sub-pathsubPathId - sub-path IDreferencePathId - reference path IDsubPathName - user specified sub-path namesubPathType - user specified sub-path typeLODNetworkException
void deletePath(long pathId)
throws LODNetworkException
pathId - path IDLODNetworkException
void deletePaths(long[] pathIds)
throws LODNetworkException
pathIds - path IDsLODNetworkException
void deleteSubPath(long subPathId)
throws LODNetworkException
subPathId - sub-path IDLODNetworkException
void deleteSubPaths(long[] subPathIds)
throws LODNetworkException
subPathIds - sub-path IDsLODNetworkException
NetworkBuffer readNetworkBuffer(long bufferId)
throws LODNetworkException
bufferId - ID of the network bufferLODNetworkException
void writeNetworkBuffer(NetworkBuffer buffer,
long bufferId)
throws LODNetworkException
buffer - network buffer to be storedbufferId - ID of the network buffer in the databaseLODNetworkException
long writeNetworkBuffer(NetworkBuffer buffer)
throws LODNetworkException
buffer - network buffer to be storedLODNetworkException
void deleteNetworkBuffer(long id)
throws LODNetworkException
id - ID of the network bufferLODNetworkException
void saveConnectedComponents(OrderedLongSet[] components,
int linkLevel)
throws LODNetworkException
components - array of connected components. Each connected component is represented by a set of node IDs.linkLevel - link levelLODNetworkException
void generatePartitionBlobs(int linkLevel,
boolean includeUserData,
boolean commitForEachBlob)
throws LODNetworkException
linkLevel - link levelincludeUserData - whether to include user data or not. If set to true, user data of category 0 will be included in the blob.commitForEachBlob - whether to call commit after writing the BLOB for each partitionLODNetworkException
void generatePartitionBlobs(boolean includeUserData,
boolean commitForEachBlob,
boolean performDeltaUpdate)
throws LODNetworkException
includeUserData - whether to include user data or not. If set to true, user data of category 0 will be included in the blob.commitForEachBlob - whether to call commit after writing the BLOB for each partitionperformDeltaUpdate - whether to use network update history to perform delta update on existing BLOBs or to reload the network information directly from the network node and link tables/views.LODNetworkException
void generatePartitionBlobs(int linkLevel,
boolean includeUserData,
boolean commitForEachBlob,
boolean performDeltaUpdate)
throws LODNetworkException
linkLevel - link levelincludeUserData - whether to include user data or not. If set to true, user data of category 0 will be included in the blob.commitForEachBlob - whether to call commit after writing the BLOB for each partitionperformDeltaUpdate - whether to use network update history to perform delta update on existing BLOBs or to reload the network information directly from the network node and link tables/views.LODNetworkException
void generatePartitionBlob(int partitionId,
int linkLevel,
boolean includeUserData)
throws LODNetworkException
partitionId - partition IDlinkLevel - link levelincludeUserData - whether to include user data or not. If set to true, user data of category 0 will be included in the blob.LODNetworkException
void generatePartitionBlob(int partitionId,
int linkLevel,
boolean includeUserData,
boolean performDeltaUpdate)
throws LODNetworkException
partitionId - partition IDlinkLevel - link levelincludeUserData - whether to include user data or not. If set to true, user data of category 0 will be included in the blob.performDeltaUpdate - whether to use network update history to perform delta update on existing BLOBs or to reload the network information directly from the network node and link tables/views.LODNetworkExceptionlong getNextTmpNodeId()
long getNextTmpLinkId()
|
Oracle® Spatial Java API Reference 11g Release 2 (11.2) E11829-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||