Package viam.app.data.v1
Interface Data.TabularDataBySQLRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Data.TabularDataBySQLRequest
,Data.TabularDataBySQLRequest.Builder
- Enclosing class:
- Data
public static interface Data.TabularDataBySQLRequestOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionstring organization_id = 1 [json_name = "organizationId"];
com.google.protobuf.ByteString
string organization_id = 1 [json_name = "organizationId"];
sql_query accepts any valid SQL SELECT statement.com.google.protobuf.ByteString
sql_query accepts any valid SQL SELECT statement.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.
-
getSqlQuery
String getSqlQuery()sql_query accepts any valid SQL SELECT statement. Tabular data is held in a database called "sensorData" and a table called readings, so queries should select from "readings" or "sensorData.readings".
string sql_query = 2 [json_name = "sqlQuery"];
- Returns:
- The sqlQuery.
-
getSqlQueryBytes
com.google.protobuf.ByteString getSqlQueryBytes()sql_query accepts any valid SQL SELECT statement. Tabular data is held in a database called "sensorData" and a table called readings, so queries should select from "readings" or "sensorData.readings".
string sql_query = 2 [json_name = "sqlQuery"];
- Returns:
- The bytes for sqlQuery.
-