Package oracle.spatial.network.lod
Interface LODUserDataIO
-
- All Known Implementing Classes:
LODUserDataIOSDO
public interface LODUserDataIO
This interface defines methods to read and write user defined data from and to the database. Each user data category should have its own LODUserDataIO object.- Since:
- 11gR1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getCategoryId()
oracle.spatial.network.ds.IDataSource
getDataSource()
NetworkMetadata
getNetworkMetadata()
UserData[]
readUserData(java.lang.String type, long[] ids)
Reads user defined data from the database.void
readUserData(LogicalPartition partition)
void
setCategoryId(int categoryId)
void
setDataSource(oracle.spatial.network.ds.IDataSource dataSource)
void
setNetworkMetadata(NetworkMetadata metadata)
boolean
shareNetworkDataSource()
void
writeUserData(java.lang.String type, long[] ids, UserData[] userData)
Writes user defined data to the database.void
writeUserData(LogicalPartition partition)
-
-
-
Method Detail
-
shareNetworkDataSource
boolean shareNetworkDataSource()
-
getDataSource
oracle.spatial.network.ds.IDataSource getDataSource()
-
setDataSource
void setDataSource(oracle.spatial.network.ds.IDataSource dataSource)
-
getNetworkMetadata
NetworkMetadata getNetworkMetadata()
-
setNetworkMetadata
void setNetworkMetadata(NetworkMetadata metadata)
-
getCategoryId
int getCategoryId()
-
setCategoryId
void setCategoryId(int categoryId)
-
readUserData
UserData[] readUserData(java.lang.String type, long[] ids)
Reads user defined data from the database.- Parameters:
type
- user data type, which can take the following values:
- UserDataMetadata.NODE_TABLE_TYPE
- UserDataMetadata.LINK_TABLE_TYPE
- UserDataMetadata.PATH_TABLE_TYPE
- Feature Layer Nameids
- the IDs of the objects for which the user data are read- Returns:
- array of user data maps, each corresponding to an ID of the same index in the ID array.
-
writeUserData
void writeUserData(java.lang.String type, long[] ids, UserData[] userData)
Writes user defined data to the database.- Parameters:
type
- user data type, which can take the following values:
- UserDataMetadata.NODE_TABLE_TYPE
- UserDataMetadata.LINK_TABLE_TYPE
- UserDataMetadata.PATH_TABLE_TYPEids
- the IDs of the objects for which the user data are written outuserData
- array of user data maps, each corresponding to an ID of the same index in the ID array.
-
readUserData
void readUserData(LogicalPartition partition)
-
writeUserData
void writeUserData(LogicalPartition partition)
-
-