Package org.apache.arrow.flight.sql.impl
Interface FlightSql.CommandStatementIngestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FlightSql.CommandStatementIngest
,FlightSql.CommandStatementIngest.Builder
- Enclosing class:
- FlightSql
public static interface FlightSql.CommandStatementIngestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionboolean
containsOptions
(String key) Backend-specific options.The catalog of the destination table to load data into.com.google.protobuf.ByteString
The catalog of the destination table to load data into.Deprecated.int
Backend-specific options.Backend-specific options.getOptionsOrDefault
(String key, String defaultValue) Backend-specific options.getOptionsOrThrow
(String key) Backend-specific options.The db_schema of the destination table to load data into.com.google.protobuf.ByteString
The db_schema of the destination table to load data into.getTable()
The table to load data into.com.google.protobuf.ByteString
The table to load data into.The behavior for handling the table definition.The behavior for handling the table definition.boolean
Store ingested data in a temporary table.com.google.protobuf.ByteString
Perform the ingestion as part of this transaction.boolean
The catalog of the destination table to load data into.boolean
The db_schema of the destination table to load data into.boolean
The behavior for handling the table definition.boolean
Perform the ingestion as part of this transaction.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTableDefinitionOptions
boolean hasTableDefinitionOptions()The behavior for handling the table definition.
.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions table_definition_options = 1;
- Returns:
- Whether the tableDefinitionOptions field is set.
-
getTableDefinitionOptions
FlightSql.CommandStatementIngest.TableDefinitionOptions getTableDefinitionOptions()The behavior for handling the table definition.
.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions table_definition_options = 1;
- Returns:
- The tableDefinitionOptions.
-
getTableDefinitionOptionsOrBuilder
FlightSql.CommandStatementIngest.TableDefinitionOptionsOrBuilder getTableDefinitionOptionsOrBuilder()The behavior for handling the table definition.
.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions table_definition_options = 1;
-
getTable
String getTable()The table to load data into.
string table = 2;
- Returns:
- The table.
-
getTableBytes
com.google.protobuf.ByteString getTableBytes()The table to load data into.
string table = 2;
- Returns:
- The bytes for table.
-
hasSchema
boolean hasSchema()The db_schema of the destination table to load data into. If unset, a backend-specific default may be used.
optional string schema = 3;
- Returns:
- Whether the schema field is set.
-
getSchema
String getSchema()The db_schema of the destination table to load data into. If unset, a backend-specific default may be used.
optional string schema = 3;
- Returns:
- The schema.
-
getSchemaBytes
com.google.protobuf.ByteString getSchemaBytes()The db_schema of the destination table to load data into. If unset, a backend-specific default may be used.
optional string schema = 3;
- Returns:
- The bytes for schema.
-
hasCatalog
boolean hasCatalog()The catalog of the destination table to load data into. If unset, a backend-specific default may be used.
optional string catalog = 4;
- Returns:
- Whether the catalog field is set.
-
getCatalog
String getCatalog()The catalog of the destination table to load data into. If unset, a backend-specific default may be used.
optional string catalog = 4;
- Returns:
- The catalog.
-
getCatalogBytes
com.google.protobuf.ByteString getCatalogBytes()The catalog of the destination table to load data into. If unset, a backend-specific default may be used.
optional string catalog = 4;
- Returns:
- The bytes for catalog.
-
getTemporary
boolean getTemporary()Store ingested data in a temporary table. The effect of setting temporary is to place the table in a backend-defined namespace, and to drop the table at the end of the session. The namespacing may make use of a backend-specific schema and/or catalog. The server should return an error if an explicit choice of schema or catalog is incompatible with the server's namespacing decision.
bool temporary = 5;
- Returns:
- The temporary.
-
hasTransactionId
boolean hasTransactionId()Perform the ingestion as part of this transaction. If specified, results should not be committed in the event of an error/cancellation.
optional bytes transaction_id = 6;
- Returns:
- Whether the transactionId field is set.
-
getTransactionId
com.google.protobuf.ByteString getTransactionId()Perform the ingestion as part of this transaction. If specified, results should not be committed in the event of an error/cancellation.
optional bytes transaction_id = 6;
- Returns:
- The transactionId.
-
getOptionsCount
int getOptionsCount()Backend-specific options.
map<string, string> options = 1000;
-
containsOptions
Backend-specific options.
map<string, string> options = 1000;
-
getOptions
Deprecated.UsegetOptionsMap()
instead. -
getOptionsMap
Backend-specific options.
map<string, string> options = 1000;
-
getOptionsOrDefault
Backend-specific options.
map<string, string> options = 1000;
-
getOptionsOrThrow
Backend-specific options.
map<string, string> options = 1000;
-