|
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 | ||||||||
java.lang.Object
oracle.spatial.network.lod.LODUserDataIOSDO
public class LODUserDataIOSDO
This implementation of LODUserDataIO reads all the user defined data from the node, link and path tables.
| Constructor Summary | |
|---|---|
LODUserDataIOSDO() |
|
LODUserDataIOSDO(java.sql.Connection conn, NetworkMetadata metadata, int categoryId) |
|
| Method Summary | |
|---|---|
int |
getCategoryId() |
java.sql.Connection |
getConnection() |
NetworkMetadata |
getNetworkMetadata() |
int |
getNumberOfCategories() |
void |
init(java.sql.Connection conn, NetworkMetadata metadata, int categoryId) |
static void |
main(java.lang.String[] args) |
UserData[] |
readUserData(int tableType, long[] ids) |
void |
readUserData(LogicalPartition partition) |
UserData[] |
readUserData(java.lang.String tableType, long[] ids)Reads user defined data from the database. |
void |
setCategoryId(int categoryId) |
void |
setConnection(java.sql.Connection conn) |
void |
setNetworkMetadata(NetworkMetadata metadata) |
void |
writeUserData(LogicalPartition partition) |
void |
writeUserData(java.lang.String tableType, long[] ids, UserData[] userData)Writes user defined data to the database. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LODUserDataIOSDO()
public LODUserDataIOSDO(java.sql.Connection conn,
NetworkMetadata metadata,
int categoryId)
| Method Detail |
|---|
public void init(java.sql.Connection conn,
NetworkMetadata metadata,
int categoryId)
public UserData[] readUserData(java.lang.String tableType,
long[] ids)
LODUserDataIOreadUserData in interface LODUserDataIOtableType - user data type, which can take the following values:ids - the IDs of the objects for which the user data are read
public UserData[] readUserData(int tableType,
long[] ids)
public void writeUserData(java.lang.String tableType,
long[] ids,
UserData[] userData)
LODUserDataIOwriteUserData in interface LODUserDataIOtableType - user data type, which can take the following values:ids - 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.public void readUserData(LogicalPartition partition)
readUserData in interface LODUserDataIOpublic void writeUserData(LogicalPartition partition)
writeUserData in interface LODUserDataIOpublic int getNumberOfCategories()
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic java.sql.Connection getConnection()
getConnection in interface LODUserDataIOpublic void setConnection(java.sql.Connection conn)
setConnection in interface LODUserDataIOpublic NetworkMetadata getNetworkMetadata()
getNetworkMetadata in interface LODUserDataIOpublic void setNetworkMetadata(NetworkMetadata metadata)
setNetworkMetadata in interface LODUserDataIOpublic int getCategoryId()
getCategoryId in interface LODUserDataIOpublic void setCategoryId(int categoryId)
setCategoryId in interface LODUserDataIO
|
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 | ||||||||