Package oracle.spatial.network.lod
Interface LODUserDataIO
-
- All Known Implementing Classes:
LODUserDataIOSDO
public interface LODUserDataIOThis 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 intgetCategoryId()oracle.spatial.network.ds.IDataSourcegetDataSource()NetworkMetadatagetNetworkMetadata()UserData[]readUserData(java.lang.String type, long[] ids)Reads user defined data from the database.voidreadUserData(LogicalPartition partition)voidsetCategoryId(int categoryId)voidsetDataSource(oracle.spatial.network.ds.IDataSource dataSource)voidsetNetworkMetadata(NetworkMetadata metadata)booleanshareNetworkDataSource()voidwriteUserData(java.lang.String type, long[] ids, UserData[] userData)Writes user defined data to the database.voidwriteUserData(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)
-
-