public static final class FlightSql.CommandGetDbSchemas.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandGetDbSchemas.Builder> implements FlightSql.CommandGetDbSchemasOrBuilder
Represents a request to retrieve the list of database schemas on a Flight SQL enabled backend. The definition of a database schema depends on vendor/implementation. It is usually a collection of tables. Used in the command member of FlightDescriptor for the following RPC calls: - GetSchema: return the Arrow schema of the query. - GetFlightInfo: execute the catalog metadata request. The returned Arrow schema will be: < catalog_name: utf8, db_schema_name: utf8 not null > The returned data should be ordered by catalog_name, then db_schema_name.Protobuf type
arrow.flight.protocol.sql.CommandGetDbSchemas
Modifier and Type | Method and Description |
---|---|
FlightSql.CommandGetDbSchemas |
build() |
FlightSql.CommandGetDbSchemas |
buildPartial() |
FlightSql.CommandGetDbSchemas.Builder |
clear() |
FlightSql.CommandGetDbSchemas.Builder |
clearCatalog()
Specifies the Catalog to search for the tables.
|
FlightSql.CommandGetDbSchemas.Builder |
clearDbSchemaFilterPattern()
Specifies a filter pattern for schemas to search for.
|
String |
getCatalog()
Specifies the Catalog to search for the tables.
|
com.google.protobuf.ByteString |
getCatalogBytes()
Specifies the Catalog to search for the tables.
|
String |
getDbSchemaFilterPattern()
Specifies a filter pattern for schemas to search for.
|
com.google.protobuf.ByteString |
getDbSchemaFilterPatternBytes()
Specifies a filter pattern for schemas to search for.
|
FlightSql.CommandGetDbSchemas |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
hasCatalog()
Specifies the Catalog to search for the tables.
|
boolean |
hasDbSchemaFilterPattern()
Specifies a filter pattern for schemas to search for.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FlightSql.CommandGetDbSchemas.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FlightSql.CommandGetDbSchemas.Builder |
mergeFrom(FlightSql.CommandGetDbSchemas other) |
FlightSql.CommandGetDbSchemas.Builder |
mergeFrom(com.google.protobuf.Message other) |
FlightSql.CommandGetDbSchemas.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FlightSql.CommandGetDbSchemas.Builder |
setCatalog(String value)
Specifies the Catalog to search for the tables.
|
FlightSql.CommandGetDbSchemas.Builder |
setCatalogBytes(com.google.protobuf.ByteString value)
Specifies the Catalog to search for the tables.
|
FlightSql.CommandGetDbSchemas.Builder |
setDbSchemaFilterPattern(String value)
Specifies a filter pattern for schemas to search for.
|
FlightSql.CommandGetDbSchemas.Builder |
setDbSchemaFilterPatternBytes(com.google.protobuf.ByteString value)
Specifies a filter pattern for schemas to search for.
|
FlightSql.CommandGetDbSchemas.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandGetDbSchemas.Builder>
public FlightSql.CommandGetDbSchemas.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandGetDbSchemas.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandGetDbSchemas.Builder>
public FlightSql.CommandGetDbSchemas getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public FlightSql.CommandGetDbSchemas build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public FlightSql.CommandGetDbSchemas buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public FlightSql.CommandGetDbSchemas.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FlightSql.CommandGetDbSchemas.Builder>
public FlightSql.CommandGetDbSchemas.Builder mergeFrom(FlightSql.CommandGetDbSchemas other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandGetDbSchemas.Builder>
public FlightSql.CommandGetDbSchemas.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<FlightSql.CommandGetDbSchemas.Builder>
IOException
public boolean hasCatalog()
Specifies the Catalog to search for the tables. An empty string retrieves those without a catalog. If omitted the catalog name should not be used to narrow the search.
optional string catalog = 1;
hasCatalog
in interface FlightSql.CommandGetDbSchemasOrBuilder
public String getCatalog()
Specifies the Catalog to search for the tables. An empty string retrieves those without a catalog. If omitted the catalog name should not be used to narrow the search.
optional string catalog = 1;
getCatalog
in interface FlightSql.CommandGetDbSchemasOrBuilder
public com.google.protobuf.ByteString getCatalogBytes()
Specifies the Catalog to search for the tables. An empty string retrieves those without a catalog. If omitted the catalog name should not be used to narrow the search.
optional string catalog = 1;
getCatalogBytes
in interface FlightSql.CommandGetDbSchemasOrBuilder
public FlightSql.CommandGetDbSchemas.Builder setCatalog(String value)
Specifies the Catalog to search for the tables. An empty string retrieves those without a catalog. If omitted the catalog name should not be used to narrow the search.
optional string catalog = 1;
value
- The catalog to set.public FlightSql.CommandGetDbSchemas.Builder clearCatalog()
Specifies the Catalog to search for the tables. An empty string retrieves those without a catalog. If omitted the catalog name should not be used to narrow the search.
optional string catalog = 1;
public FlightSql.CommandGetDbSchemas.Builder setCatalogBytes(com.google.protobuf.ByteString value)
Specifies the Catalog to search for the tables. An empty string retrieves those without a catalog. If omitted the catalog name should not be used to narrow the search.
optional string catalog = 1;
value
- The bytes for catalog to set.public boolean hasDbSchemaFilterPattern()
Specifies a filter pattern for schemas to search for. When no db_schema_filter_pattern is provided, the pattern will not be used to narrow the search. In the pattern string, two special characters can be used to denote matching rules: - "%" means to match any substring with 0 or more characters. - "_" means to match any one character.
optional string db_schema_filter_pattern = 2;
hasDbSchemaFilterPattern
in interface FlightSql.CommandGetDbSchemasOrBuilder
public String getDbSchemaFilterPattern()
Specifies a filter pattern for schemas to search for. When no db_schema_filter_pattern is provided, the pattern will not be used to narrow the search. In the pattern string, two special characters can be used to denote matching rules: - "%" means to match any substring with 0 or more characters. - "_" means to match any one character.
optional string db_schema_filter_pattern = 2;
getDbSchemaFilterPattern
in interface FlightSql.CommandGetDbSchemasOrBuilder
public com.google.protobuf.ByteString getDbSchemaFilterPatternBytes()
Specifies a filter pattern for schemas to search for. When no db_schema_filter_pattern is provided, the pattern will not be used to narrow the search. In the pattern string, two special characters can be used to denote matching rules: - "%" means to match any substring with 0 or more characters. - "_" means to match any one character.
optional string db_schema_filter_pattern = 2;
getDbSchemaFilterPatternBytes
in interface FlightSql.CommandGetDbSchemasOrBuilder
public FlightSql.CommandGetDbSchemas.Builder setDbSchemaFilterPattern(String value)
Specifies a filter pattern for schemas to search for. When no db_schema_filter_pattern is provided, the pattern will not be used to narrow the search. In the pattern string, two special characters can be used to denote matching rules: - "%" means to match any substring with 0 or more characters. - "_" means to match any one character.
optional string db_schema_filter_pattern = 2;
value
- The dbSchemaFilterPattern to set.public FlightSql.CommandGetDbSchemas.Builder clearDbSchemaFilterPattern()
Specifies a filter pattern for schemas to search for. When no db_schema_filter_pattern is provided, the pattern will not be used to narrow the search. In the pattern string, two special characters can be used to denote matching rules: - "%" means to match any substring with 0 or more characters. - "_" means to match any one character.
optional string db_schema_filter_pattern = 2;
public FlightSql.CommandGetDbSchemas.Builder setDbSchemaFilterPatternBytes(com.google.protobuf.ByteString value)
Specifies a filter pattern for schemas to search for. When no db_schema_filter_pattern is provided, the pattern will not be used to narrow the search. In the pattern string, two special characters can be used to denote matching rules: - "%" means to match any substring with 0 or more characters. - "_" means to match any one character.
optional string db_schema_filter_pattern = 2;
value
- The bytes for dbSchemaFilterPattern to set.public final FlightSql.CommandGetDbSchemas.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandGetDbSchemas.Builder>
public final FlightSql.CommandGetDbSchemas.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandGetDbSchemas.Builder>
Copyright © 2023 The Apache Software Foundation. All rights reserved.