public interface INetworkQuery
extends java.io.Serializable
Description: 'Provides access to members that query the elements of the network dataset.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
IID
Deprecated.
Internal use only
|
static int |
IID73bed6fc_fda9_45b0_a82d_1b42d52a26d0 |
static int |
xxDummy
Deprecated.
Internal use only
|
Modifier and Type | Method and Description |
---|---|
void |
clearIDCache()
Empties the contents of the index used for finding network elements by source.
|
java.util.Date |
convertLocalTimeToUTCTime(int localTimeZoneID,
java.util.Date localTime)
Converts local time for the given time zone to UTC time.
|
java.util.Date |
convertUTCTimeToLocalTime(int localTimeZoneID,
java.util.Date utcTime)
Converts UTC time to local time for the given time zone.
|
INetworkForwardStar |
createForwardStar()
Creates a NetworkForwardStar object for traversing the network dataset.
|
INetworkForwardStarAdjacencies |
createForwardStarAdjacencies()
Creates a NetworkForwardStarAdjacencies container object for forward star queries.
|
INetworkElement |
createNetworkElement(int elementType)
Creates an uninitialized network element of the specified type for use in network dataset queries.
|
int |
getComplexTurnCount()
Number of turn elements in the network dataset having more than two edge elements participating.
|
IEnumNetworkElement |
getEdgesByPosition(int sourceID,
long oID,
double position)
Edge elements in the network dataset with a from and to position that includes the given position for the given source object.
|
IEnumNetworkElement |
getEdgesBySegment(int sourceID,
long oID,
double fromPosition,
double toPosition)
Edge elements in the network dataset with a from and to position included in the given range for the given source object.
|
int |
getElementCount(int elementType)
Number of network elements of the given type in the network dataset.
|
IEnumNetworkElement |
getElements(int elementType)
Enumeration of all elements in the network dataset of the given type.
|
IEnumNetworkElement |
getElementsByOID(int sourceID,
long oID)
Elements in the network dataset corresponding to the given source object.
|
IEnumNetworkElement |
getElementsByOIDs(int sourceID,
ILongLongArray oids)
Elements in the network dataset corresponding to the given source objects.
|
IEnumNetworkElement |
getElementsForSource(int sourceID)
Enumeration of all elements in the network dataset corresponding to the given source.
|
long |
getMaxEID(int elementType)
Highest element ID in the network dataset for the given element type.
|
int |
getMaxValence()
Maximum number of edge elements connected to any single junction element.
|
int |
getTimeZoneID(INetworkElement networkElement)
The time zone ID for the given network element.
|
void |
populateIDCache(int sourceID)
Initializes the index used for quickly finding network elements for the given source ID.
|
void |
queryEdge(long eID,
int direction,
INetworkEdge edge)
Performs a network edge element query by element ID and edge direction and populates the given edge element object.
|
void |
queryJunction(long eID,
INetworkJunction junction)
Performs a network junction element query by element ID and populates the given junction element object.
|
void |
queryTurn(long eID,
INetworkTurn turn)
Performs a network turn element query by element ID and populates the given turn element object.
|
void |
refreshDynamicTrafficData(java.util.Date utcTime,
int utcTimeUsage,
java.util.Date[] pDynamicTrafficUTCStartTime,
java.util.Date[] pDynamicTrafficUTCEndTime)
Refreshes the current dynamic traffic data referenced by the network dataset based on the specified time and usage.
|
static final int IID73bed6fc_fda9_45b0_a82d_1b42d52a26d0
static final int xxDummy
static final java.lang.String IID
long getMaxEID(int elementType) throws java.io.IOException, AutomationException
elementType
- A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.int getMaxValence() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.int getElementCount(int elementType) throws java.io.IOException, AutomationException
elementType
- A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.int getComplexTurnCount() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.INetworkForwardStar createForwardStar() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.INetworkForwardStarAdjacencies createForwardStarAdjacencies() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.INetworkElement createNetworkElement(int elementType) throws java.io.IOException, AutomationException
elementType
- A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void queryEdge(long eID, int direction, INetworkEdge edge) throws java.io.IOException, AutomationException
eID
- Signed 64-bit int (in)direction
- A com.esri.arcgis.geodatabase.esriNetworkEdgeDirection constant (in)edge
- A reference to a com.esri.arcgis.geodatabase.INetworkEdge (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void queryJunction(long eID, INetworkJunction junction) throws java.io.IOException, AutomationException
eID
- Signed 64-bit int (in)junction
- A reference to a com.esri.arcgis.geodatabase.INetworkJunction (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void queryTurn(long eID, INetworkTurn turn) throws java.io.IOException, AutomationException
eID
- Signed 64-bit int (in)turn
- A reference to a com.esri.arcgis.geodatabase.INetworkTurn (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IEnumNetworkElement getElementsByOID(int sourceID, long oID) throws java.io.IOException, AutomationException
sourceID
- The sourceID (in)oID
- Signed 64-bit int (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IEnumNetworkElement getEdgesByPosition(int sourceID, long oID, double position) throws java.io.IOException, AutomationException
sourceID
- The sourceID (in)oID
- Signed 64-bit int (in)position
- The position (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IEnumNetworkElement getEdgesBySegment(int sourceID, long oID, double fromPosition, double toPosition) throws java.io.IOException, AutomationException
sourceID
- The sourceID (in)oID
- Signed 64-bit int (in)fromPosition
- The fromPosition (in)toPosition
- The toPosition (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IEnumNetworkElement getElements(int elementType) throws java.io.IOException, AutomationException
elementType
- A com.esri.arcgis.geodatabase.esriNetworkElementType constant (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IEnumNetworkElement getElementsByOIDs(int sourceID, ILongLongArray oids) throws java.io.IOException, AutomationException
sourceID
- The sourceID (in)oids
- A reference to a com.esri.arcgis.system.ILongLongArray (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.IEnumNetworkElement getElementsForSource(int sourceID) throws java.io.IOException, AutomationException
sourceID
- The sourceID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void clearIDCache() throws java.io.IOException, AutomationException
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void populateIDCache(int sourceID) throws java.io.IOException, AutomationException
sourceID
- The sourceID (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.int getTimeZoneID(INetworkElement networkElement) throws java.io.IOException, AutomationException
networkElement
- A reference to a com.esri.arcgis.geodatabase.INetworkElement (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.util.Date convertLocalTimeToUTCTime(int localTimeZoneID, java.util.Date localTime) throws java.io.IOException, AutomationException
localTimeZoneID
- The localTimeZoneID (in)localTime
- The localTime (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.java.util.Date convertUTCTimeToLocalTime(int localTimeZoneID, java.util.Date utcTime) throws java.io.IOException, AutomationException
localTimeZoneID
- The localTimeZoneID (in)utcTime
- The utcTime (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.void refreshDynamicTrafficData(java.util.Date utcTime, int utcTimeUsage, java.util.Date[] pDynamicTrafficUTCStartTime, java.util.Date[] pDynamicTrafficUTCEndTime) throws java.io.IOException, AutomationException
utcTime
- The utcTime (in)utcTimeUsage
- A com.esri.arcgis.geodatabase.esriNetworkTimeUsage constant (in)pDynamicTrafficUTCStartTime
- The pDynamicTrafficUTCStartTime (out: use single element array)pDynamicTrafficUTCEndTime
- The pDynamicTrafficUTCEndTime (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.