Package viam.app.data.v1
Interface Data.TabularDataByMQLRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Data.TabularDataByMQLRequest
,Data.TabularDataByMQLRequest.Builder
- Enclosing class:
- Data
public static interface Data.TabularDataByMQLRequestOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondata_source is an optional field that can be used to specify the data source for the query.com.google.protobuf.ByteString
getMqlBinary
(int index) mql_binary accepts a MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.int
mql_binary accepts a MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.List<com.google.protobuf.ByteString>
mql_binary accepts a MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline.string organization_id = 1 [json_name = "organizationId"];
com.google.protobuf.ByteString
string organization_id = 1 [json_name = "organizationId"];
boolean
Deprecated, please use TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE instead.boolean
data_source is an optional field that can be used to specify the data source for the query.boolean
Deprecated, please use TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE instead.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getOrganizationId
String getOrganizationId()string organization_id = 1 [json_name = "organizationId"];
- Returns:
- The organizationId.
-
getOrganizationIdBytes
com.google.protobuf.ByteString getOrganizationIdBytes()string organization_id = 1 [json_name = "organizationId"];
- Returns:
- The bytes for organizationId.
-
getMqlBinaryList
List<com.google.protobuf.ByteString> getMqlBinaryList()mql_binary accepts a MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline. The pipeline is run on the "sensorData.readings" namespace, which holds the Viam organization's tabular data.
repeated bytes mql_binary = 3 [json_name = "mqlBinary"];
- Returns:
- A list containing the mqlBinary.
-
getMqlBinaryCount
int getMqlBinaryCount()mql_binary accepts a MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline. The pipeline is run on the "sensorData.readings" namespace, which holds the Viam organization's tabular data.
repeated bytes mql_binary = 3 [json_name = "mqlBinary"];
- Returns:
- The count of mqlBinary.
-
getMqlBinary
com.google.protobuf.ByteString getMqlBinary(int index) mql_binary accepts a MongoDB aggregation pipeline as a list of BSON documents, where each document is one stage in the pipeline. The pipeline is run on the "sensorData.readings" namespace, which holds the Viam organization's tabular data.
repeated bytes mql_binary = 3 [json_name = "mqlBinary"];
- Parameters:
index
- The index of the element to return.- Returns:
- The mqlBinary at the given index.
-
hasUseRecentData
boolean hasUseRecentData()Deprecated, please use TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE instead.
optional bool use_recent_data = 4 [json_name = "useRecentData"];
- Returns:
- Whether the useRecentData field is set.
-
getUseRecentData
boolean getUseRecentData()Deprecated, please use TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE instead.
optional bool use_recent_data = 4 [json_name = "useRecentData"];
- Returns:
- The useRecentData.
-
hasDataSource
boolean hasDataSource()data_source is an optional field that can be used to specify the data source for the query. If not specified, the query will run on "standard" storage.
optional .viam.app.data.v1.TabularDataSource data_source = 6 [json_name = "dataSource"];
- Returns:
- Whether the dataSource field is set.
-
getDataSource
Data.TabularDataSource getDataSource()data_source is an optional field that can be used to specify the data source for the query. If not specified, the query will run on "standard" storage.
optional .viam.app.data.v1.TabularDataSource data_source = 6 [json_name = "dataSource"];
- Returns:
- The dataSource.
-