|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.trackinganalyst.TemporalObservationTable
public class TemporalObservationTable
This object is a non-creatable COM object that is a wrapper around an in memory database table that contains Temporal Observation data. The purpose of this object is to facilitate observation analysis and to set parameters for dynamic data lifetime. This wrapper also enables this objects data to be saved with the AMS workspace if desired.
Constructor Summary | |
---|---|
TemporalObservationTable()
Constructs a TemporalObservationTable using ArcGIS Engine. |
|
TemporalObservationTable(Object obj)
Construct a TemporalObservationTable using a reference to such an object returned from ArcGIS Engine or Server. |
Method Summary | |
---|---|
void |
addField(IField field)
Adds a field to this object class. |
int |
addRow(IDataMessage piDataMessage)
Adds a row to the temporal table. |
IRow |
createRow()
Creates a row in the database with a system assigned object ID and null property values. |
IRowBuffer |
createRowBuffer()
Creates a row buffer that can be used with an insert cursor. |
void |
deleteField(IField field)
Deletes a field from this object class. |
boolean |
equals(Object o)
Compare this object with another |
int |
findField(String name)
The index of the field with the specified name. |
static String |
getClsid()
getClsid. |
IFields |
getFields()
The fields collection for this object class. |
String |
getGeometryColumnName()
Column name of the table's field containing the geometry. |
double |
getPurgePercentage()
The percentage of the maximum allowed number of records to delete when the Purge method is called. |
int |
getPurgeRule()
Identifies the purge rule to apply when PruneTable method is called (via user S/W or auto purge criteria). |
IRow |
getRow(int oID)
The row from the database with the specified object ID. |
String |
getTemporalColumnName()
The column that is responsible for providing the temporal information. |
Object |
getThreshold()
The high-water mark or the number of observations that should not be exceeded Threshold. |
int |
hashCode()
the hashcode for this object |
ICursor |
insert(boolean useBuffering)
Returns a cursor that can be used to insert new Rows. |
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo |
boolean |
isAutoPurge()
Indicates if the observation table will automatically purge observations that meet a specified criteria, Purge Rule, when the high-water mark has been exceeded. |
boolean |
isHasGeometry()
Identifies if the table contains a geometry field. |
boolean |
isPersistant()
Reserved for future. |
void |
pruneTable()
Apply the purge rule to the temporal table. |
void |
queryTemporalExtent(Object[] pvarStartTime,
Object[] pvarEndTime)
Provides the time range of all records in the temporal table. |
int |
rowCount(IQueryFilter queryFilter)
The number of Rows selected by the specified query. |
ICursor |
search(IQueryFilter queryFilter,
boolean recycling)
An object cursor that can be used to fetch row objects selected by the specified query. |
ISelectionSet |
select(IQueryFilter queryFilter,
int selType,
int selOption,
IWorkspace selectionContainer)
A selection that contains the object ids selected by the specified query. |
void |
setAutoPurge(boolean pVal)
Indicates if the observation table will automatically purge observations that meet a specified criteria, Purge Rule, when the high-water mark has been exceeded. |
void |
setGeometryColumnName(String pbstrColumnName)
Column name of the table's field containing the geometry. |
void |
setPersistant(boolean pVal)
Reserved for future. |
void |
setPurgePercentage(double pVal)
The percentage of the maximum allowed number of records to delete when the Purge method is called. |
void |
setPurgeRule(int pVal)
Identifies the purge rule to apply when PruneTable method is called (via user S/W or auto purge criteria). |
void |
setTemporalColumnName(String pVal)
The column that is responsible for providing the temporal information. |
void |
setThreshold(Object pvarVal)
The high-water mark or the number of observations that should not be exceeded Threshold. |
void |
setTrackingColumnIndex(int rhs1)
Receives the column index of the Track ID. |
ICursor |
update(IQueryFilter queryFilter,
boolean recycling)
Returns a cursor that can be used to update Rows selected by the specified query. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public TemporalObservationTable() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic TemporalObservationTable(Object obj) throws IOException
obj
to TemporalObservationTable
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problems
TemporalObservationTable theTemporalObservationTable = (TemporalObservationTable) obj;
Method Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public boolean isAutoPurge() throws IOException, AutomationException
isAutoPurge
in interface ITemporalObservationsTable
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAutoPurge(boolean pVal) throws IOException, AutomationException
setAutoPurge
in interface ITemporalObservationsTable
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Object getThreshold() throws IOException, AutomationException
This property indicates the high-water mark or the number of observations that should not be exceeded. When the auto purge property is enabled or true, this level is the maximum number of records that can exist in the table. The auto purge process occurs or is triggered, and it will prune the table according to the Purge Rule. If Auto Purge is not true or enabled then record inserts will fail and no further data will be allowed into the table.
getThreshold
in interface ITemporalObservationsTable
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setThreshold(Object pvarVal) throws IOException, AutomationException
setThreshold
in interface ITemporalObservationsTable
pvarVal
- A Variant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getPurgePercentage() throws IOException, AutomationException
This property indicates the percentage of the maximum allowed number of records to be deleted when the Purge method is called.
getPurgePercentage
in interface ITemporalObservationsTable
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPurgePercentage(double pVal) throws IOException, AutomationException
setPurgePercentage
in interface ITemporalObservationsTable
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isPersistant() throws IOException, AutomationException
isPersistant
in interface ITemporalObservationsTable
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPersistant(boolean pVal) throws IOException, AutomationException
setPersistant
in interface ITemporalObservationsTable
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getTemporalColumnName() throws IOException, AutomationException
This property is the name of the column that contains the temporal data. This data can be a timestamp or a time period.
getTemporalColumnName
in interface ITemporalObservationsTable
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTemporalColumnName(String pVal) throws IOException, AutomationException
setTemporalColumnName
in interface ITemporalObservationsTable
pVal
- The pVal (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getPurgeRule() throws IOException, AutomationException
This property identifies the purge rule to apply when the PruneTable method is called via user, or the auto purge criteria. See the purge rule enumeration constants for details about each rule.
getPurgeRule
in interface ITemporalObservationsTable
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPurgeRule(int pVal) throws IOException, AutomationException
setPurgeRule
in interface ITemporalObservationsTable
pVal
- A com.esri.arcgis.trackinganalyst.enumPurgeRule constant (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void pruneTable() throws IOException, AutomationException
This method applies the purge rule to the temporal table to purge observations that meet a specified criteria--the user-defined Purge Rule--when the high-water mark has been exceeded.
pruneTable
in interface ITemporalObservationsTable
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void queryTemporalExtent(Object[] pvarStartTime, Object[] pvarEndTime) throws IOException, AutomationException
This method returns the full temporal extent of data stored in the feature class. The returned objects are VT_DATE type (e.g., “mm/dd/yyyy hh:mm:ss AM/PM”).
queryTemporalExtent
in interface ITemporalObservationsTable
pvarStartTime
- A Variant (out: use single element array)pvarEndTime
- A Variant (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int findField(String name) throws IOException, AutomationException
This method returns the index of the field with the specified name in the object class.
findField
in interface ITemporalTable
name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFields getFields() throws IOException, AutomationException
This property returns the fields collection for the object class.
getFields
in interface ITemporalTable
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void addField(IField field) throws IOException, AutomationException
addField
in interface ITemporalTable
field
- A reference to a com.esri.arcgis.geodatabase.IField (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void deleteField(IField field) throws IOException, AutomationException
deleteField
in interface ITemporalTable
field
- A reference to a com.esri.arcgis.geodatabase.IField (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRow createRow() throws IOException, AutomationException
createRow
in interface ITemporalTable
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRow getRow(int oID) throws IOException, AutomationException
getRow
in interface ITemporalTable
oID
- The oID (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRowBuffer createRowBuffer() throws IOException, AutomationException
createRowBuffer
in interface ITemporalTable
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int rowCount(IQueryFilter queryFilter) throws IOException, AutomationException
rowCount
in interface ITemporalTable
queryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ICursor search(IQueryFilter queryFilter, boolean recycling) throws IOException, AutomationException
search
in interface ITemporalTable
queryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)recycling
- The recycling (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ICursor update(IQueryFilter queryFilter, boolean recycling) throws IOException, AutomationException
update
in interface ITemporalTable
queryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)recycling
- The recycling (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ICursor insert(boolean useBuffering) throws IOException, AutomationException
insert
in interface ITemporalTable
useBuffering
- The useBuffering (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISelectionSet select(IQueryFilter queryFilter, int selType, int selOption, IWorkspace selectionContainer) throws IOException, AutomationException
select
in interface ITemporalTable
queryFilter
- A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)selType
- A com.esri.arcgis.geodatabase.esriSelectionType constant (in)selOption
- A com.esri.arcgis.geodatabase.esriSelectionOption constant (in)selectionContainer
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isHasGeometry() throws IOException, AutomationException
isHasGeometry
in interface ITemporalTable
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getGeometryColumnName() throws IOException, AutomationException
This property indicates the column name of the table’s field containing the geometry.
getGeometryColumnName
in interface ITemporalTable
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGeometryColumnName(String pbstrColumnName) throws IOException, AutomationException
setGeometryColumnName
in interface ITemporalTable
pbstrColumnName
- The pbstrColumnName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTrackingColumnIndex(int rhs1) throws IOException, AutomationException
setTrackingColumnIndex
in interface ITemporalObservationsTable2
rhs1
- The rhs1 (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int addRow(IDataMessage piDataMessage) throws IOException, AutomationException
addRow
in interface IInternalTable
piDataMessage
- A reference to a com.esri.arcgis.trackinganalyst.IDataMessage (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws IOException, AutomationException
Indicates whether the interface supports IErrorInfo.
interfaceSupportsErrorInfo
in interface ISupportErrorInfo
riid
- A Structure: com.esri.arcgis.support.ms.stdole.GUID (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 |