Skip navigation links

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


oracle.spatial.network.lod.config
Class LODConfig

java.lang.Object
  extended by oracle.spatial.network.lod.config.LODConfig


public class LODConfig
extends java.lang.Object

An LODConfig object contains LOD configuration information of a network.

Since:
11gR1

Constructor Summary
LODConfig()
          Default constructor.
LODConfig(org.w3c.dom.Element elem)
          Constructs an LODConfig object from an XML element.
LODConfig(java.util.HashMap<java.lang.Integer,CachingPolicy> cachingPolicies, boolean readFromBlob, java.lang.String partitionBlobTranslator, java.lang.String userDataIO)
          Constructs an LODConfig instance.
LODConfig(LODConfig config)
          Copy constructor.

 

Method Summary
 java.util.HashMap<java.lang.Integer,CachingPolicy> getCachingPolicies()
          Returns the caching policies for different link levels.
 java.lang.String getPartitionBlobTranslator()
          Returns the full class name of the partition BLOB translator.
 java.lang.String getUserDataIO()
          Returns the full class name of the user data input/output implementation.
 boolean isReadFromBlob()
          Whether the network partitions should be read from BLOBs or from node and link tables.
 void setCachingPolicies(java.util.HashMap<java.lang.Integer,CachingPolicy> cachingPolicies)
          Sets the caching policies.
 void setPartitionBlobTranslator(java.lang.String partitionBlobTranslator)
          Sets the full class name of the partition BLOB translator.
 void setReadFromBlob(boolean readFromBlob)
          Sets whether to read from BLOBs or from tables.
 void setUserDataIO(java.lang.String userDataIO)
          Sets the full class name of the user data input/output implementation.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

LODConfig

public LODConfig()
Default constructor. Default partition BLOB translator is oracle.spatial.network.lod.PartitionBlobTranslator11g. Default user data IO implementation is oracle.spatial.network.lod.LODUserDataIOSDO. Default read from blob is set to false.

LODConfig

public LODConfig(LODConfig config)
Copy constructor.
Parameters:
config - LOD configuratino to copy from

LODConfig

public LODConfig(java.util.HashMap<java.lang.Integer,CachingPolicy> cachingPolicies,
                 boolean readFromBlob,
                 java.lang.String partitionBlobTranslator,
                 java.lang.String userDataIO)
Constructs an LODConfig instance.
Parameters:
cachingPolicies - caching policies
readFromBlob - true, if read from BLOBs; false, otherwise.
partitionBlobTranslator - full class name of the partition BLOB translator implementation
userDataIO - full class name of the user data input/output implementation

LODConfig

public LODConfig(org.w3c.dom.Element elem)
          throws LODConfigException
Constructs an LODConfig object from an XML element.
Parameters:
elem - xml element
Throws:
LODConfigException

Method Detail

getCachingPolicies

public java.util.HashMap<java.lang.Integer,CachingPolicy> getCachingPolicies()
Returns the caching policies for different link levels.
Returns:
a hash map of caching policies, whose keys are link levels

isReadFromBlob

public boolean isReadFromBlob()
Whether the network partitions should be read from BLOBs or from node and link tables.
Returns:
true, if network partitions should be read from BLOBs; false, otherwise.

getPartitionBlobTranslator

public java.lang.String getPartitionBlobTranslator()
Returns the full class name of the partition BLOB translator.
Returns:

getUserDataIO

public java.lang.String getUserDataIO()
Returns the full class name of the user data input/output implementation.
Returns:

setCachingPolicies

public void setCachingPolicies(java.util.HashMap<java.lang.Integer,CachingPolicy> cachingPolicies)
Sets the caching policies.
Parameters:
cachingPolicies - caching policies in a map, whose keys are the link levels, and whose values are the caching policies.

setReadFromBlob

public void setReadFromBlob(boolean readFromBlob)
Sets whether to read from BLOBs or from tables.
Parameters:
readFromBlob - true, if read from BLOBs; false, otherwise.

setPartitionBlobTranslator

public void setPartitionBlobTranslator(java.lang.String partitionBlobTranslator)
Sets the full class name of the partition BLOB translator.
Parameters:
partitionBlobTranslator - full class name of the partition BLOB translator

setUserDataIO

public void setUserDataIO(java.lang.String userDataIO)
Sets the full class name of the user data input/output implementation.
Parameters:
userDataIO - full class name of the user data IO implementation

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.