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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic 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.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandGetDbSchemas.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandGetDbSchemas.Builder>public FlightSql.CommandGetDbSchemas getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FlightSql.CommandGetDbSchemas build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FlightSql.CommandGetDbSchemas buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FlightSql.CommandGetDbSchemas.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom 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.MessageLiteOrBuilderisInitialized 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.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FlightSql.CommandGetDbSchemas.Builder>IOExceptionpublic 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.CommandGetDbSchemasOrBuilderpublic 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.CommandGetDbSchemasOrBuilderpublic 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.CommandGetDbSchemasOrBuilderpublic 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.CommandGetDbSchemasOrBuilderpublic 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.CommandGetDbSchemasOrBuilderpublic 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.CommandGetDbSchemasOrBuilderpublic 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.BuildersetUnknownFields 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.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FlightSql.CommandGetDbSchemas.Builder>Copyright © 2024 The Apache Software Foundation. All rights reserved.