Skip navigation links

Oracle® Spatial Java API Reference
11g Release 2 (11.2)
E11829-02


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
 int getCategoryId()
           
 java.sql.Connection getConnection()
           
 NetworkMetadata getNetworkMetadata()
           
 void readUserData(LogicalPartition partition)
           
 UserData[] readUserData(java.lang.String type, 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 type, long[] ids, UserData[] userData)
          Writes user defined data to the database.

 

Method Detail

getConnection

java.sql.Connection getConnection()

setConnection

void setConnection(java.sql.Connection conn)

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
ids - 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_TYPE
ids - the IDs of the objects for which the user data are written out
userData - 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)

Skip navigation links

Oracle® Spatial Java API Reference
11g Release 2 (11.2)
E11829-02


Copyright © 2007, 2011, Oracle and/or its affiliates. All Rights Reserved.