|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.trackinganalyst.ITemporalRecordSetProxy
public class ITemporalRecordSetProxy
Provides access to methods needed to set up and fill a temporally sorted record set.
This Interface exposes methods needed to set up and fill a temporally sorted record set. This interface also provides methods to build the temporal index and cache features based on time window specified.
Field Summary | |
---|---|
boolean |
noncastable
|
Fields inherited from class com.esri.arcgis.interop.Dispatch |
---|
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef |
Constructor Summary | |
---|---|
|
ITemporalRecordSetProxy()
|
|
ITemporalRecordSetProxy(Object obj)
|
protected |
ITemporalRecordSetProxy(Object obj,
String iid)
|
Method Summary | |
---|---|
void |
addListener(String iidStr,
Object theListener,
Object theSource)
|
int |
getCount()
Number of features contained by the cursor. |
int |
getFeatureCacheWindow()
Determines the number of features to cache if FeaturesCached property is true. |
IFeatureClass |
getFeatureClass()
A reference to the feature class of which this record set is a member. |
Object |
getMostCurrentFeature()
Returns success, but does nothing. |
Object |
getOldestFeature()
Returns success, but does nothing. |
String |
getTemporalColumnName()
Identifies the column containing time and date information. |
String |
getTimeSeriesColumnName()
Identifies column in the feature class containing temporal observations with time series. |
void |
indexFeatureClass(Object cacheStartingTime,
Object cacheEndingTime,
ISelectionSet selSet,
IQueryFilter queryFilter,
int localeLanguageID,
String dateFormat,
String timeFormat,
String aMDesignator,
String pMDesignator)
Re-builds the temporal index and caches features based on the supplied temporal parameters. |
boolean |
isCacheFeatures()
Controls whether features are cached in the renderer's feature memory or are read from the feature class. |
void |
removeListener(String iidStr,
Object theListener)
|
IFeatureCursor |
search(IQueryFilter queryFilter,
boolean recycling,
boolean forDrawing)
Performs a query on the record set for the given time range, returning a feature cursor. |
ISelectionSet |
selectByDate(Object startDate,
Object endDate)
Allows user to select record set by its date value. |
void |
setCacheFeatures(boolean cacheTheFeatures)
Controls whether features are cached in the renderer's feature memory or are read from the feature class. |
void |
setFeatureCacheWindow(int percent)
Determines the number of features to cache if FeaturesCached property is true. |
void |
setFeatureClassByRef(IFeatureClass featureClass)
A reference to the feature class of which this record set is a member. |
void |
setTemporalColumnName(String name)
Identifies the column containing time and date information. |
void |
setTimeSeriesColumnName(String name)
Identifies column in the feature class containing temporal observations with time series. |
Methods inherited from class com.esri.arcgis.interop.Dispatch |
---|
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean noncastable
Constructor Detail |
---|
public ITemporalRecordSetProxy()
public ITemporalRecordSetProxy(Object obj) throws IOException
IOException
protected ITemporalRecordSetProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public String getTemporalColumnName() throws IOException, AutomationException
This property is the name of the temporal column name. This column contains time-date information.
getTemporalColumnName
in interface ITemporalRecordSet
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTemporalColumnName(String name) throws IOException, AutomationException
This property is the name of the temporal column name. This column contains time-date information.
setTemporalColumnName
in interface ITemporalRecordSet
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFeatureClass getFeatureClass() throws IOException, AutomationException
This property sets a reference to the feature class that this record set is a part of.
getFeatureClass
in interface ITemporalRecordSet
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFeatureClassByRef(IFeatureClass featureClass) throws IOException, AutomationException
This routine sets a reference to the feature class that this record set is a part of.
setFeatureClassByRef
in interface ITemporalRecordSet
featureClass
- A reference to a com.esri.arcgis.geodatabase.IFeatureClass (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void indexFeatureClass(Object cacheStartingTime, Object cacheEndingTime, ISelectionSet selSet, IQueryFilter queryFilter, int localeLanguageID, String dateFormat, String timeFormat, String aMDesignator, String pMDesignator) throws IOException, AutomationException
This method re-builds the temporal index and caches features based on the supplied temporal parameters. This method indexes all features in a feature class but only caches or saves the features object instances that fall within the parameters supplied.
The cvarCacheStartingTime and cvarCacheEndingTime are time automation compliant date types. In C++ you can use any type that converts to a VT_DATE type, in VB a Date type, and in C# a DateTime type.
indexFeatureClass
in interface ITemporalRecordSet
cacheStartingTime
- A Variant (in)cacheEndingTime
- A Variant (in)selSet
- A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)queryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)localeLanguageID
- The localeLanguageID (in)dateFormat
- The dateFormat (in)timeFormat
- The timeFormat (in)aMDesignator
- The aMDesignator (in)pMDesignator
- The pMDesignator (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getCount() throws IOException, AutomationException
This property provides the number of features that this record set contains.
getCount
in interface ITemporalRecordSet
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFeatureCursor search(IQueryFilter queryFilter, boolean recycling, boolean forDrawing) throws IOException, AutomationException
This method performs a query on the record set for the given time range and returns a Feature Cursor that the caller can iterate through to extract the features in ascending or descending temporal order.
The starting or ending date can be set to the constant TEMPORALEXTENT and the starting or ending time will begin with the first or last time in the record set depending on which argument it is set to. If both arguments are set to TEMPORALEXTENT then the whole record set is traversed.
search
in interface ITemporalRecordSet
queryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)recycling
- The recycling (in)forDrawing
- The forDrawing (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isCacheFeatures() throws IOException, AutomationException
isCacheFeatures
in interface ITemporalRecordSet
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setCacheFeatures(boolean cacheTheFeatures) throws IOException, AutomationException
This property controls whether Features are cached in the renders feature memory or are read from the feature class.
setCacheFeatures
in interface ITemporalRecordSet
cacheTheFeatures
- The cacheTheFeatures (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getTimeSeriesColumnName() throws IOException, AutomationException
This property identifies the feature class's column that identifies or groups temporal observations with time series.
getTimeSeriesColumnName
in interface ITemporalRecordSet
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTimeSeriesColumnName(String name) throws IOException, AutomationException
This property identifies the feature class's column that identifies or groups temporal observations with time series.
setTimeSeriesColumnName
in interface ITemporalRecordSet
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getFeatureCacheWindow() throws IOException, AutomationException
This property determines the amount of features to cache if features Cached property is true. This property uses the temporal references temporal period property to determine the period and then adds x percent to each end of the current temporally displayable features. For example, if the temporal period is 10 min and this property is 50, the resulting cached features will be 5 min before and 5 min after the 10 min period that is currently displayed.
getFeatureCacheWindow
in interface ITemporalRecordSet
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFeatureCacheWindow(int percent) throws IOException, AutomationException
This property determines the amount of features to cache if features Cached property is true. This property uses the temporal references temporal period property to determine the period and then adds x percent to each end of the current temporally displayable features. For example, if the temporal period is 10 min and this property is 50, the resulting cached features will be 5 min before and 5 min after the 10 min period that is currently displayed.
setFeatureCacheWindow
in interface ITemporalRecordSet
percent
- The percent (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getOldestFeature() throws IOException, AutomationException
getOldestFeature
in interface ITemporalRecordSet
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getMostCurrentFeature() throws IOException, AutomationException
getMostCurrentFeature
in interface ITemporalRecordSet
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISelectionSet selectByDate(Object startDate, Object endDate) throws IOException, AutomationException
selectByDate
in interface ITemporalRecordSet
startDate
- A Variant (in)endDate
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |