@ThingworxExtensionApiClass(since={6,6}, canInstantiate=true) public class InfoTableFunctions extends Resource
BASIC_PROPERTIESNAME_COMPARATOR| Constructor and Description |
|---|
InfoTableFunctions() |
| Modifier and Type | Method and Description |
|---|---|
InfoTable |
Aggregate(InfoTable t,
java.lang.String columns,
java.lang.String aggregates,
java.lang.String groupByColumns)
Service Category: Aggregates
Service Description: .
|
InfoTable |
BetweenFilter(InfoTable t,
java.lang.String fieldName,
java.lang.String minValue,
java.lang.String maxValue,
java.lang.Boolean inclusive)
Service Category: Filters
Service Description: Range filter.
|
InfoTable |
Clone(InfoTable t1)
Service Category: Creation
Service Description: Clone an info table.
|
InfoTable |
Combine(InfoTable tables)
Service Category: Interpolation
Service Description: Combine multiple time series data sets to an InfoTable.
|
InfoTable |
CreateInfoTable(java.lang.String infoTableName)
Service Category: Creation
Service Description: Create an empty InfoTable.
|
InfoTable |
CreateInfoTableFromDataShape(java.lang.String infoTableName,
java.lang.String dataShapeName)
Service Category: Creation
Service Description: Create an InfoTable from a specified data shape.
|
InfoTable |
DeleteQuery(InfoTable t,
org.json.JSONObject query)
Service Category: Filters
Service Description: Delete rows that match a query.
|
InfoTable |
DeriveFields(InfoTable t,
java.lang.String columns,
java.lang.String types,
java.lang.String expressions)
Service Category: Calculations
Service Description: Add additional columns based on expressions to existing infotable.
|
InfoTable |
Distinct(InfoTable t,
java.lang.String columns)
Service Category: Aggregates
Service Description: Extract a set of distinct values for a specified field.
|
InfoTable |
EQFilter(InfoTable t,
java.lang.String fieldName,
java.lang.String value) |
InfoTable |
EQFilter(InfoTable t,
java.lang.String fieldName,
java.lang.String value,
java.lang.Boolean isCaseSensitive)
Service Category: Filters
Service Description: Equality filter with case sensitivity flag.
|
InfoTable |
FromJSON(org.json.JSONObject json)
Service Category: Conversion
Service Description: Convert JSON into an info table.
|
InfoTable |
FromXML(org.w3c.dom.Document xml)
Service Category: Conversion
Service Description: Convert XML into an info table.
|
InfoTable |
GEFilter(InfoTable t,
java.lang.String fieldName,
java.lang.String value)
Service Category: Filters
Service Description: Greater than or equal filter.
|
InfoTable |
GTFilter(InfoTable t,
java.lang.String fieldName,
java.lang.String value)
Service Category: Filters
Service Description: Greater than filter.
|
InfoTable |
Interpolate(InfoTable t,
java.lang.String timeColumn,
java.lang.String columns,
java.lang.String mode,
java.lang.Double count,
java.lang.String stats,
org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate,
java.lang.Boolean ignoreMissingData)
Service Category: TimeInterpolation
Service Description: Perform time-based interpolation on an InfoTable.
|
InfoTable |
Intersect(InfoTable t1,
InfoTable t2,
java.lang.String columns1,
java.lang.String columns2,
java.lang.String joinColumns1,
java.lang.String joinColumns2,
java.lang.String joinType)
Service Category: Combination
Service Description: Returns an inner join of the two infotables.
|
InfoTable |
LEFilter(InfoTable t,
java.lang.String fieldName,
java.lang.String value)
Service Category: Filters
Service Description: Less than or equal filter.
|
InfoTable |
LikeFilter(InfoTable t,
java.lang.String fieldName,
java.lang.String pattern,
java.lang.Boolean inclusive)
Service Category: Filters
Service Description: Pattern matching filter.
|
InfoTable |
LTFilter(InfoTable t,
java.lang.String fieldName,
java.lang.String value)
Service Category: Filters
Service Description: Less than filter.
|
InfoTable |
MissingValueFilter(InfoTable t,
java.lang.String fieldName,
java.lang.Boolean inclusive)
Service Category: Filters
Service Description: Filter by missing value(s).
|
InfoTable |
NearFilter(InfoTable t,
java.lang.String fieldName,
Location location,
java.lang.Double searchRadius,
java.lang.String units,
java.lang.Boolean inclusive)
Service Category: Filters
Service Description: Location filter (nearness).
|
InfoTable |
NEFilter(InfoTable t,
java.lang.String fieldName,
java.lang.String value)
Service Category: Filters
Service Description: Not equal filter.
|
InfoTable |
Pivot(InfoTable t,
java.lang.String timestampColumn,
java.lang.String nameColumn,
java.lang.String valueColumn)
Service Category: Transformation
Service Description: Returns a transformation of a dataset with timestamp, name and value columns.
|
InfoTable |
Query(InfoTable t,
org.json.JSONObject query)
Service Category: Filters
Service Description: Generic query.
|
InfoTable |
RegexFilter(InfoTable t,
java.lang.String fieldName,
java.lang.String pattern,
java.lang.Boolean inclusive)
Service Category: Filters
Service Description: Pattern matching filter.
|
InfoTable |
RenameField(InfoTable t,
java.lang.String from,
java.lang.String to)
Service Category: Columns
Service Description: Return an infotable with a column renamed.
|
InfoTable |
SetFilter(InfoTable t,
java.lang.String fieldName,
java.lang.String matchValues,
java.lang.Boolean inclusive)
Service Category: Filters
Service Description: Set of values filter.
|
InfoTable |
Sort(InfoTable t,
java.lang.String sortColumn,
java.lang.Boolean ascending)
Service Category: Sorting
Service Description: Sort InfoTable on a specified field.
|
InfoTable |
TagFilter(InfoTable t,
java.lang.String fieldName,
TagCollection tags,
java.lang.Boolean inclusive)
Service Category: Filters
Service Description: Filter by tag value(s).
|
InfoTable |
TimeShift(InfoTable t,
java.lang.String timestampField,
java.lang.Double shift)
Service Category: TimeInterpolation
Service Description: Shift the time values for an infotable by a given amount.
|
org.json.JSONObject |
ToJSON(InfoTable table)
Deprecated.
no replacement
|
InfoTable |
TopN(InfoTable t,
java.lang.Double maxItems)
Service Category: Filters
Service Description: Returns the top n rows.
|
InfoTable |
Union(InfoTable t1,
InfoTable t2)
Service Category: Combination
Service Description: Returns a single infotable with values from two tables.
|
InfoTable |
UpdateQuery(InfoTable t,
org.json.JSONObject query,
InfoTable values)
Service Category: Filters
Service Description: Update rows that match a query with a provided set of values.
|
getEntityTypegetInstancePublicServiceDefinitions, getInstanceServiceDefinition, getInstanceServiceDefinitions, initializeEntity, preInitializeEntity, processAPIServiceRequest, processServiceRequestAddConfigurationTableDefinition, addDesignTimePermission, AddDesignTimePermission, addRunTimePermission, AddRunTimePermission, AddTags, addVisibilityPermission, AddVisibilityPermission, CheckDesignTimePermission, CheckDesignTimePermissionForGroup, CheckDesignTimePermissionForUser, CheckPermission, CheckPermissionForGroup, CheckPermissionForUser, cleanupEntity, cleanupEntity, DeleteAllConfigurationTableRows, DeleteConfigurationTable, DeleteConfigurationTableRows, deleteDesignTimePermission, DeleteDesignTimePermission, deleteRunTimePermission, DeleteRunTimePermission, deleteVisibilityPermission, DeleteVisibilityPermission, dispose, getAspects, GetAvatar, getAvatarContent, GetAvatarURL, GetConfigurationChangeHistory, getConfigurationSetting, getConfigurationTable, GetConfigurationTable, GetConfigurationTableDefinition, GetConfigurationTableRow, GetConfigurationTables, GetDescription, getDesignTimePermissions, GetDesignTimePermissions, GetDesignTimePermissionsAsJSON, getDocumentationContent, getEntityTypeAsString, GetEventDefinition, GetEventDefinitions, GetHomeMashup, GetIncomingDependencies, GetIncomingDependenciesAsNetwork, GetInstanceMetadataAsJSON, GetInstanceMetadataWithPermissionsAsJSON, GetLastModifiedDate, GetMetadata, GetMetadataAsJSON, GetMetadataWithPermissionsAsJSON, GetOutgoingDependencies, GetOutgoingDependenciesAsNetwork, getOwner, GetPermissionsForCurrentUser, GetPermissionsForGroup, GetPermissionsForUser, GetProjectName, GetPropertyDefinition, GetPropertyDefinitions, getRunTimePermissions, GetRunTimePermissions, GetRunTimePermissionsAsJSON, GetServiceDefinition, GetServiceDefinitions, getStringConfigurationSetting, getStringConfigurationSettingWithDefault, GetSummaryInformation, getTags, GetTags, GetTagsAsInfoTable, getVisibilityPermissions, GetVisibilityPermissions, GetVisibilityPermissionsAsJSON, HasIncomingDependencies, HasOutgoingDependencies, isEditable, isEditableExtensionObject, isEditableSystemObject, isExtensionObject, IsMultiRowTable, isOwner, isSystemObject, isThemeObject, isVisible, isVisible, persistDesignTimePermissions, persistRunTimePermissions, persistVisibilityPermissions, RemoveTags, SaveConfigurationTables, SetAvatar, setConfigurationSetting, SetConfigurationTable, SetConfigurationTableRows, SetDescription, setDesignTimePermissions, SetDesignTimePermissionsAsJSON, setDocumentationContent, setExtensionObject, SetHomeMashup, setLastModifiedDate, SetMultiRowConfigurationTable, setOwner, SetOwner, SetProjectName, setRunTimePermissions, SetRunTimePermissionsAsJSON, setStringConfigurationSetting, SetTags, setVisibilityPermissions, SetVisibilityPermissionsAsJSON, toJSON, toJSONDefinition, validateConfigurationgetID, hasID, isTransientgetDescription, getName, setDescription, setName, toValueCollectionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetID, hasIDgetDescription, getNamegetID, getName@ThingworxExtensionApiMethod(since={6,6}) public InfoTable FromXML(org.w3c.dom.Document xml) throws java.lang.Exception
xml - XML content - XMLjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable FromJSON(org.json.JSONObject json) throws java.lang.Exception
json - JSON content - JSONjava.lang.Exception - If an error occurs@Deprecated @ThingworxExtensionApiMethod(since={6,6}, deprecatedSince={8,4}) public org.json.JSONObject ToJSON(InfoTable table) throws java.lang.Exception
table - Info tablejava.lang.Exception - if an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable Clone(InfoTable t1) throws java.lang.Exception
t1 - First table to join - INFOTABLEjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable Intersect(InfoTable t1, InfoTable t2, java.lang.String columns1, java.lang.String columns2, java.lang.String joinColumns1, java.lang.String joinColumns2, java.lang.String joinType) throws java.lang.Exception
t1 - First table to join - INFOTABLEt2 - Second table to join - INFOTABLEcolumns1 - Comma separated list of columns to include from table 1 - STRINGcolumns2 - Comma separated list of columns to include from table 2 - STRINGjoinColumns1 - Comma separated list of columns from table 1 on which to join - STRINGjoinColumns2 - Comma separated list of columns from table 2 on which to join - STRINGjoinType - Join type (INNER, LEFT, RIGHT, FULL) - STRINGjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable Pivot(InfoTable t, java.lang.String timestampColumn, java.lang.String nameColumn, java.lang.String valueColumn) throws java.lang.Exception
t - Source data - INFOTABLEtimestampColumn - Timestamp column - STRINGnameColumn - Name column - STRINGvalueColumn - Value column - STRINGjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable Union(InfoTable t1, InfoTable t2) throws java.lang.Exception
t1 - First table to join - INFOTABLEt2 - Second table to join - INFOTABLEjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable TimeShift(InfoTable t, java.lang.String timestampField, java.lang.Double shift) throws java.lang.Exception
t - Info table to truncate - INFOTABLEtimestampField - Name of the timestamp field - STRINGshift - Number of seconds to shift the values - NUMBERjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable TopN(InfoTable t, java.lang.Double maxItems) throws java.lang.Exception
t - Info table to truncate - INFOTABLEmaxItems - Number of rows to return - NUMBERjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable DeriveFields(InfoTable t, java.lang.String columns, java.lang.String types, java.lang.String expressions) throws java.lang.Exception
t - Info table to calculate on - INFOTABLEcolumns - Comma separated list of new field names - STRINGtypes - Comma separated list of base types for new fields - STRINGexpressions - Comma separated list of expressions - STRINGjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable RenameField(InfoTable t, java.lang.String from, java.lang.String to) throws java.lang.Exception
t - Info table to rename - INFOTABLEfrom - Old field name - STRINGto - New field name - STRINGjava.lang.Exception - If an error occurs
@ThingworxExtensionApiMethod(since={6,6}) public InfoTable Aggregate(InfoTable t, java.lang.String columns, java.lang.String aggregates, java.lang.String groupByColumns) throws java.lang.Exception
t - Info table to aggregate - INFOTABLEcolumns - Comma separated list of columns to aggregate - STRINGaggregates - Comma separated list of aggregate types (MIN, MAX, AVERAGE, SUM, COUNT) - STRINGgroupByColumns - Comma separated list of columns to group on - STRINGjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable SetFilter(InfoTable t, java.lang.String fieldName, java.lang.String matchValues, java.lang.Boolean inclusive) throws java.lang.Exception
t - Info table to filter - INFOTABLEfieldName - Field name on which to filter - STRINGmatchValues - Semicolon separated list of values to match - STRINGinclusive - Include or exclude matching rows - BOOLEANjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable LikeFilter(InfoTable t, java.lang.String fieldName, java.lang.String pattern, java.lang.Boolean inclusive) throws java.lang.Exception
t - Info table to filter - INFOTABLEfieldName - Field name on which to filter - STRINGpattern - Pattern to match - STRINGinclusive - Include or exclude matching rows - BOOLEANjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable RegexFilter(InfoTable t, java.lang.String fieldName, java.lang.String pattern, java.lang.Boolean inclusive) throws java.lang.Exception
t - Info table to filter - INFOTABLEfieldName - Field name on which to filter - STRINGpattern - Pattern to match - STRINGinclusive - Include or exclude matching rows - BOOLEANjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable BetweenFilter(InfoTable t, java.lang.String fieldName, java.lang.String minValue, java.lang.String maxValue, java.lang.Boolean inclusive) throws java.lang.Exception
t - Info table to filter - INFOTABLEfieldName - Field name on which to filter - STRINGminValue - Minimum value for range - STRINGmaxValue - Maximum value for range - STRINGinclusive - Include or exclude matching rows - BOOLEANjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GEFilter(InfoTable t, java.lang.String fieldName, java.lang.String value) throws java.lang.Exception
t - Info table to filter - INFOTABLEfieldName - Field name on which to filter - STRINGvalue - Value to compare - STRINGjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable GTFilter(InfoTable t, java.lang.String fieldName, java.lang.String value) throws java.lang.Exception
t - Info table to filter - INFOTABLEfieldName - Field name on which to filter - STRINGvalue - Value to compare - STRINGjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable LEFilter(InfoTable t, java.lang.String fieldName, java.lang.String value) throws java.lang.Exception
t - Info table to filter - INFOTABLEfieldName - Field name on which to filter - STRINGvalue - Value to compare - STRINGjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable LTFilter(InfoTable t, java.lang.String fieldName, java.lang.String value) throws java.lang.Exception
t - Info table to filter - INFOTABLEfieldName - Field name on which to filter - STRINGvalue - Value to compare - STRINGjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable EQFilter(InfoTable t, java.lang.String fieldName, java.lang.String value) throws java.lang.Exception
java.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={7,3}) public InfoTable EQFilter(InfoTable t, java.lang.String fieldName, java.lang.String value, java.lang.Boolean isCaseSensitive) throws java.lang.Exception
t - Info table to filter - INFOTABLEfieldName - Field name on which to filter - STRINGvalue - Value to compare - STRINGisCaseSensitive - Flag to turn case sensitivity on/off - BOOLEANjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable NEFilter(InfoTable t, java.lang.String fieldName, java.lang.String value) throws java.lang.Exception
t - Info table to filter - INFOTABLEfieldName - Field name on which to filter - STRINGvalue - Value to compare - STRINGjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable NearFilter(InfoTable t, java.lang.String fieldName, Location location, java.lang.Double searchRadius, java.lang.String units, java.lang.Boolean inclusive) throws java.lang.Exception
t - Info table to filter - INFOTABLEfieldName - Field name on which to filter - STRINGlocation - Center point of search - LOCATIONsearchRadius - Search radius - NUMBERunits - Search radius units (K = km, M = miles, N = nautical miles) - STRINGinclusive - Include or exclude matching rows - BOOLEANjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable TagFilter(InfoTable t, java.lang.String fieldName, TagCollection tags, java.lang.Boolean inclusive) throws java.lang.Exception
t - Info table to filter - INFOTABLEfieldName - Field name on which to filter - STRINGtags - Tags to filter on - TAGSinclusive - Include or exclude matching rows - BOOLEANjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable MissingValueFilter(InfoTable t, java.lang.String fieldName, java.lang.Boolean inclusive) throws java.lang.Exception
t - Info table to filter - INFOTABLEfieldName - Field name on which to filter - STRINGinclusive - Include or exclude matching rows - BOOLEANjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable Sort(InfoTable t, java.lang.String sortColumn, java.lang.Boolean ascending) throws java.lang.Exception
t - Info table to sort - INFOTABLEsortColumn - Column on which to sort - STRINGascending - Ascending or descending sort (ascending = true) - BOOLEANjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable Interpolate(InfoTable t, java.lang.String timeColumn, java.lang.String columns, java.lang.String mode, java.lang.Double count, java.lang.String stats, org.joda.time.DateTime startDate, org.joda.time.DateTime endDate, java.lang.Boolean ignoreMissingData) throws java.lang.Exception
t - Info table to sort - INFOTABLEtimeColumn - Time column name - STRINGcolumns - Semicolon separated list of field names - STRINGmode - Interpolation Mode (ROWCOUNT or INTERVAL) - STRINGcount - Number of rows to return - NUMBERstats - Statistic type for interpolation (LAST, SMOOTH, AVG, TAVG, MIN, MAX) - STRINGstartDate - Start date of range - DATETIMEendDate - End date of range - DATETIMEignoreMissingData - Ignore missing data in calculations - BOOLEANjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable Combine(InfoTable tables) throws java.lang.Exception
tables - Info tables to combine - INFOTABLEjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable Distinct(InfoTable t, java.lang.String columns) throws java.lang.Exception
t - Info table to reduce to distinct rows - INFOTABLEcolumns - Comma separated list of columns to determine distinct rows - STRINGjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable Query(InfoTable t, org.json.JSONObject query) throws java.lang.Exception
t - Info table to query - INFOTABLEquery - Query expression - QUERYjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable DeleteQuery(InfoTable t, org.json.JSONObject query) throws java.lang.Exception
t - Info table to query - INFOTABLEquery - Query expression - QUERYjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable UpdateQuery(InfoTable t, org.json.JSONObject query, InfoTable values) throws java.lang.Exception
t - Info table to query - INFOTABLEquery - Query expression - QUERYvalues - Fields/values to update - INFOTABLEjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable CreateInfoTableFromDataShape(java.lang.String infoTableName, java.lang.String dataShapeName) throws java.lang.Exception
infoTableName - Name for the infotable - STRINGdataShapeName - Name of the data shape from which to create the infotable - DATASHAPENAMEjava.lang.Exception - If an error occurs@ThingworxExtensionApiMethod(since={6,6}) public InfoTable CreateInfoTable(java.lang.String infoTableName)
infoTableName - Name for the infotable - STRING