java.lang.Object
org.apache.arrow.flight.sql.SqlInfoBuilder
Auxiliary class meant to facilitate the implementation of 
FlightSqlProducer.getStreamSqlInfo(org.apache.arrow.flight.sql.impl.FlightSql.CommandGetSqlInfo, org.apache.arrow.flight.FlightProducer.CallContext, org.apache.arrow.flight.FlightProducer.ServerStreamListener).
 Usage requires the user to add the required SqlInfo values using the with* methods
 like withFlightSqlServerName(String), and request it back through the
 send(List, ServerStreamListener) method.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic NullableVarCharHoldergetHolderForUtf8(String string, ArrowBuf buf) voidsend(List<Integer> infos, FlightProducer.ServerStreamListener listener) Send the requested information to given ServerStreamListener.Sets a value forFlightSql.SqlInfo.FLIGHT_SQL_SERVER_ARROW_VERSIONin the builder.withFlightSqlServerBulkIngestion(boolean value) Set a value for bulk ingestion support.withFlightSqlServerBulkIngestionTransaction(boolean value) Set a value for transaction support for bulk ingestion.withFlightSqlServerCancel(boolean value) Set a value for query cancellation support.withFlightSqlServerName(String value) Sets a value forFlightSql.SqlInfo.FLIGHT_SQL_SERVER_NAMEin the builder.withFlightSqlServerReadOnly(boolean value) Sets a value forFlightSql.SqlInfo.FLIGHT_SQL_SERVER_READ_ONLYin the builder.withFlightSqlServerSql(boolean value) Set a value for SQL support.withFlightSqlServerStatementTimeout(int value) Set a value for statement timeouts.withFlightSqlServerSubstrait(boolean value) Set a value for Substrait support.Set a value for Substrait maximum version support.Set a value for Substrait minimum version support.Set a value for transaction support.withFlightSqlServerTransactionTimeout(int value) Set a value for transaction timeouts.withFlightSqlServerVersion(String value) Sets a value forFlightSql.SqlInfo.FLIGHT_SQL_SERVER_VERSIONin the builder.withSqlAllTablesAreSelectable(boolean value) Sets a value forFlightSql.SqlInfo.SQL_ALL_TABLES_ARE_SELECTABLEin the builder.Sets a value forFlightSql.SqlInfo.SQL_ANSI92_SUPPORTED_LEVELin the builder.withSqlBatchUpdatesSupported(boolean value) Sets a value forFlightSql.SqlInfo.SQL_BATCH_UPDATES_SUPPORTEDin the builder.withSqlCatalogAtStart(boolean value) Sets a value forFlightSql.SqlInfo.SQL_CATALOG_AT_STARTin the builder.Sets a value forFlightSql.SqlInfo.SQL_CATALOGS_SUPPORTED_ACTIONSin the builder.withSqlCatalogTerm(String value) Sets a value forFlightSql.SqlInfo.SQL_CATALOG_TERMin the builder.withSqlCorrelatedSubqueriesSupported(boolean value) Sets a value forFlightSql.SqlInfo.SQL_CORRELATED_SUBQUERIES_SUPPORTEDin the builder.withSqlDataDefinitionCausesTransactionCommit(boolean value) Sets a value forFlightSql.SqlInfo.SQL_DATA_DEFINITION_CAUSES_TRANSACTION_COMMITin the builder.withSqlDataDefinitionsInTransactionsIgnored(boolean value) Sets a value forFlightSql.SqlInfo.SQL_DATA_DEFINITIONS_IN_TRANSACTIONS_IGNOREDin the builder.withSqlDatetimeFunctions(String[] value) Sets a value forFlightSql.SqlInfo.SQL_DATETIME_FUNCTIONSin the builder.withSqlDbSchemaNameLength(long value) Sets a value forFlightSql.SqlInfo.SQL_DB_SCHEMA_NAME_LENGTHin the builder.withSqlDdlCatalog(boolean value) Sets a value forFlightSql.SqlInfo.SQL_DDL_CATALOGin the builder.withSqlDdlSchema(boolean value) Sets a value forFlightSql.SqlInfo.SQL_DDL_SCHEMAin the builder.withSqlDdlTable(boolean value) Sets a value forFlightSql.SqlInfo.SQL_DDL_TABLEin the builder.withSqlDefaultTransactionIsolation(long value) Sets a value forFlightSql.SqlInfo.SQL_DEFAULT_TRANSACTION_ISOLATIONin the builder.withSqlExtraNameCharacters(String value) Sets a value forFlightSql.SqlInfo.SQL_EXTRA_NAME_CHARACTERSin the builder.Sets a value forFlightSql.SqlInfo.SQL_IDENTIFIER_CASEin the builder.withSqlIdentifierQuoteChar(String value) Sets a value forFlightSql.SqlInfo.SQL_IDENTIFIER_QUOTE_CHARin the builder.withSqlKeywords(String[] value) Sets a value forFlightSql.SqlInfo.SQL_KEYWORDSin the builder.withSqlLocatorsUpdateCopy(boolean value) Sets a value forFlightSql.SqlInfo.SQL_LOCATORS_UPDATE_COPYin the builder.withSqlMaxBinaryLiteralLength(long value) Sets a value SqlInf @link SqlInfo#SQL_MAX_BINARY_LITERAL_LENGTH} in the builder.withSqlMaxCatalogNameLength(long value) Sets a value forFlightSql.SqlInfo.SQL_MAX_CATALOG_NAME_LENGTHin the builder.withSqlMaxCharLiteralLength(long value) Sets a value forFlightSql.SqlInfo.SQL_MAX_CHAR_LITERAL_LENGTHin the builder.withSqlMaxColumnNameLength(long value) Sets a value forFlightSql.SqlInfo.SQL_MAX_COLUMN_NAME_LENGTHin the builder.withSqlMaxColumnsInGroupBy(long value) Sets a value forFlightSql.SqlInfo.SQL_MAX_COLUMNS_IN_GROUP_BYin the builder.withSqlMaxColumnsInIndex(long value) Sets a value forFlightSql.SqlInfo.SQL_MAX_COLUMNS_IN_INDEXin the builder.withSqlMaxColumnsInOrderBy(long value) Sets a value forFlightSql.SqlInfo.SQL_MAX_COLUMNS_IN_ORDER_BYin the builder.withSqlMaxColumnsInSelect(long value) Sets a value forFlightSql.SqlInfo.SQL_MAX_COLUMNS_IN_SELECTin the builder.withSqlMaxColumnsInTable(long value) Sets a value forFlightSql.SqlInfo.SQL_MAX_COLUMNS_IN_TABLEin the builder.withSqlMaxConnections(long value) Sets a value forFlightSql.SqlInfo.SQL_MAX_CONNECTIONSin the builder.withSqlMaxCursorNameLength(long value) Sets a value forFlightSql.SqlInfo.SQL_MAX_CURSOR_NAME_LENGTHin the builder.withSqlMaxIndexLength(long value) Sets a value forFlightSql.SqlInfo.SQL_MAX_INDEX_LENGTHin the builder.withSqlMaxProcedureNameLength(long value) Sets a value forFlightSql.SqlInfo.SQL_MAX_PROCEDURE_NAME_LENGTHin the builder.withSqlMaxRowSize(long value) Sets a value forFlightSql.SqlInfo.SQL_MAX_ROW_SIZEin the builder.withSqlMaxRowSizeIncludesBlobs(boolean value) Sets a value forFlightSql.SqlInfo.SQL_MAX_ROW_SIZE_INCLUDES_BLOBSin the builder.withSqlMaxStatementLength(long value) Sets a value forFlightSql.SqlInfo.SQL_MAX_STATEMENT_LENGTHin the builder.withSqlMaxStatements(long value) Sets a value forFlightSql.SqlInfo.SQL_MAX_STATEMENTSin the builder.withSqlMaxTableNameLength(long value) Sets a value forFlightSql.SqlInfo.SQL_MAX_TABLE_NAME_LENGTHin the builder.withSqlMaxTablesInSelect(long value) Sets a value forFlightSql.SqlInfo.SQL_MAX_TABLES_IN_SELECTin the builder.withSqlMaxUsernameLength(long value) Sets a value forFlightSql.SqlInfo.SQL_MAX_USERNAME_LENGTHin the builder.withSqlNamedParametersSupported(boolean value) Sets a value forFlightSql.SqlInfo.SQL_NAMED_PARAMETERS_SUPPORTEDin the builder.Sets a value forFlightSql.SqlInfo.SQL_NULL_ORDERINGin the builder.withSqlNullPlusNullIsNull(boolean value) Sets a value forFlightSql.SqlInfo.SQL_NULL_PLUS_NULL_IS_NULLin the builder.withSqlNumericFunctions(String[] value) Sets a value forFlightSql.SqlInfo.SQL_NUMERIC_FUNCTIONSin the builder.Sets a value forFlightSql.SqlInfo.SQL_OUTER_JOINS_SUPPORT_LEVELin the builder.withSqlProcedureTerm(String value) Sets a value forFlightSql.SqlInfo.SQL_PROCEDURE_TERMin the builder.Sets a value forFlightSql.SqlInfo.SQL_QUOTED_IDENTIFIER_CASEin the builder.withSqlSavepointsSupported(boolean value) Sets a value for { @link SqlInfo#SQL_SAVEPOINTS_SUPPORTED} in the builder.Sets a value forFlightSql.SqlInfo.SQL_SCHEMAS_SUPPORTED_ACTIONSin the builder.withSqlSchemaTerm(String value) Sets a value forFlightSql.SqlInfo.SQL_SCHEMA_TERMin the builder.withSqlSearchStringEscape(String value) Sets a value forFlightSql.SqlInfo.SQL_SEARCH_STRING_ESCAPEin the builder.withSqlSelectForUpdateSupported(boolean value) Sets a value forFlightSql.SqlInfo.SQL_SELECT_FOR_UPDATE_SUPPORTEDin the builder.withSqlStoredFunctionsUsingCallSyntaxSupported(boolean value) Sets a value forFlightSql.SqlInfo.SQL_STORED_FUNCTIONS_USING_CALL_SYNTAX_SUPPORTEDin the builder.withSqlStoredProceduresSupported(boolean value) Sets a value forFlightSql.SqlInfo.SQL_STORED_PROCEDURES_SUPPORTEDin the builder.withSqlStringFunctions(String[] value) Sets a value forFlightSql.SqlInfo.SQL_STRING_FUNCTIONSin the builder.Sets a value forFlightSql.SqlInfo.SQL_SUPPORTED_SUBQUERIESin the builder.Sets a value forFlightSql.SqlInfo.SQL_SUPPORTED_GRAMMARin the builder.Sets a value forFlightSql.SqlInfo.SQL_SUPPORTED_GROUP_BYin the builder.Sets a value forFlightSql.SqlInfo.SQL_SUPPORTED_POSITIONED_COMMANDSin the builder.Sets a value forFlightSql.SqlInfo.SQL_SUPPORTED_RESULT_SET_TYPESin the builder.Sets a value forFlightSql.SqlInfo.SQL_SUPPORTED_TRANSACTIONS_ISOLATION_LEVELSin the builder.Sets a value forFlightSql.SqlInfo.SQL_SUPPORTED_UNIONSin the builder.withSqlSupportsColumnAliasing(boolean value) Sets a value forFlightSql.SqlInfo.SQL_SUPPORTS_COLUMN_ALIASINGin the builder.withSqlSupportsConvert(Map<Integer, List<Integer>> value) Sets a value forFlightSql.SqlInfo.SQL_SUPPORTS_CONVERTin the builder.withSqlSupportsDifferentTableCorrelationNames(boolean value) Sets a value forFlightSql.SqlInfo.SQL_SUPPORTS_DIFFERENT_TABLE_CORRELATION_NAMESin the builder.withSqlSupportsExpressionsInOrderBy(boolean value) Sets a value forFlightSql.SqlInfo.SQL_SUPPORTS_EXPRESSIONS_IN_ORDER_BYin the builder.withSqlSupportsIntegrityEnhancementFacility(boolean value) Sets a value forFlightSql.SqlInfo.SQL_SUPPORTS_INTEGRITY_ENHANCEMENT_FACILITYin the builder.withSqlSupportsLikeEscapeClause(boolean value) Sets a value forFlightSql.SqlInfo.SQL_SUPPORTS_LIKE_ESCAPE_CLAUSEin the builder.withSqlSupportsNonNullableColumns(boolean value) Sets a value forFlightSql.SqlInfo.SQL_SUPPORTS_NON_NULLABLE_COLUMNSin the builder.withSqlSupportsOrderByUnrelated(boolean value) Sets a value forFlightSql.SqlInfo.SQL_SUPPORTS_ORDER_BY_UNRELATEDin the builder.withSqlSupportsTableCorrelationNames(boolean value) Sets a value forFlightSql.SqlInfo.SQL_SUPPORTS_TABLE_CORRELATION_NAMESin the builder.withSqlSystemFunctions(String[] value) Sets a value forFlightSql.SqlInfo.SQL_SYSTEM_FUNCTIONSin the builder.withSqlTransactionsSupported(boolean value) Sets a value forFlightSql.SqlInfo.SQL_TRANSACTIONS_SUPPORTEDin the builder.
- 
Constructor Details- 
SqlInfoBuilderpublic SqlInfoBuilder()
 
- 
- 
Method Details- 
getHolderForUtf8- Parameters:
- string- the- StandardCharsets.UTF_8-encoded text input to store onto the holder.
- buf- the- ArrowBuffrom which to create the new holder.
- Returns:
- a new NullableVarCharHolderwith the provided input datastring.
 
- 
withFlightSqlServerNameSets a value forFlightSql.SqlInfo.FLIGHT_SQL_SERVER_NAMEin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.FLIGHT_SQL_SERVER_NAMEto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withFlightSqlServerVersionSets a value forFlightSql.SqlInfo.FLIGHT_SQL_SERVER_VERSIONin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.FLIGHT_SQL_SERVER_VERSIONto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withFlightSqlServerArrowVersionSets a value forFlightSql.SqlInfo.FLIGHT_SQL_SERVER_ARROW_VERSIONin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.FLIGHT_SQL_SERVER_ARROW_VERSIONto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withFlightSqlServerSqlSet a value for SQL support.
- 
withFlightSqlServerSubstraitSet a value for Substrait support.
- 
withFlightSqlServerSubstraitMinVersionSet a value for Substrait minimum version support.
- 
withFlightSqlServerSubstraitMaxVersionSet a value for Substrait maximum version support.
- 
withFlightSqlServerTransactionSet a value for transaction support.
- 
withFlightSqlServerCancelSet a value for query cancellation support.
- 
withFlightSqlServerBulkIngestionSet a value for bulk ingestion support.
- 
withFlightSqlServerBulkIngestionTransactionSet a value for transaction support for bulk ingestion.
- 
withFlightSqlServerStatementTimeoutSet a value for statement timeouts.
- 
withFlightSqlServerTransactionTimeoutSet a value for transaction timeouts.
- 
withSqlIdentifierQuoteCharSets a value forFlightSql.SqlInfo.SQL_IDENTIFIER_QUOTE_CHARin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_IDENTIFIER_QUOTE_CHARto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlSearchStringEscapeSets a value forFlightSql.SqlInfo.SQL_SEARCH_STRING_ESCAPEin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_SEARCH_STRING_ESCAPEto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlExtraNameCharactersSets a value forFlightSql.SqlInfo.SQL_EXTRA_NAME_CHARACTERSin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_EXTRA_NAME_CHARACTERSto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlSchemaTermSets a value forFlightSql.SqlInfo.SQL_SCHEMA_TERMin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_SCHEMA_TERMto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlCatalogTermSets a value forFlightSql.SqlInfo.SQL_CATALOG_TERMin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_CATALOG_TERMto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlProcedureTermSets a value forFlightSql.SqlInfo.SQL_PROCEDURE_TERMin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_PROCEDURE_TERMto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlDdlCatalogSets a value forFlightSql.SqlInfo.SQL_DDL_CATALOGin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_DDL_CATALOGto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlDdlSchemaSets a value forFlightSql.SqlInfo.SQL_DDL_SCHEMAin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_DDL_SCHEMAto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlDdlTableSets a value forFlightSql.SqlInfo.SQL_DDL_TABLEin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_DDL_TABLEto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withFlightSqlServerReadOnlySets a value forFlightSql.SqlInfo.FLIGHT_SQL_SERVER_READ_ONLYin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.FLIGHT_SQL_SERVER_READ_ONLYto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlSupportsColumnAliasingSets a value forFlightSql.SqlInfo.SQL_SUPPORTS_COLUMN_ALIASINGin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_SUPPORTS_COLUMN_ALIASINGto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlNullPlusNullIsNullSets a value forFlightSql.SqlInfo.SQL_NULL_PLUS_NULL_IS_NULLin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_NULL_PLUS_NULL_IS_NULLto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlSupportsTableCorrelationNamesSets a value forFlightSql.SqlInfo.SQL_SUPPORTS_TABLE_CORRELATION_NAMESin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_SUPPORTS_TABLE_CORRELATION_NAMESto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlSupportsDifferentTableCorrelationNamesSets a value forFlightSql.SqlInfo.SQL_SUPPORTS_DIFFERENT_TABLE_CORRELATION_NAMESin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_SUPPORTS_DIFFERENT_TABLE_CORRELATION_NAMESto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlSupportsExpressionsInOrderBySets a value forFlightSql.SqlInfo.SQL_SUPPORTS_EXPRESSIONS_IN_ORDER_BYin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_SUPPORTS_EXPRESSIONS_IN_ORDER_BYto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlSupportsLikeEscapeClauseSets a value forFlightSql.SqlInfo.SQL_SUPPORTS_LIKE_ESCAPE_CLAUSEin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_SUPPORTS_LIKE_ESCAPE_CLAUSEto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlSupportsNonNullableColumnsSets a value forFlightSql.SqlInfo.SQL_SUPPORTS_NON_NULLABLE_COLUMNSin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_SUPPORTS_NON_NULLABLE_COLUMNSto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlSupportsIntegrityEnhancementFacilitySets a value forFlightSql.SqlInfo.SQL_SUPPORTS_INTEGRITY_ENHANCEMENT_FACILITYin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_SUPPORTS_INTEGRITY_ENHANCEMENT_FACILITYto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlCatalogAtStartSets a value forFlightSql.SqlInfo.SQL_CATALOG_AT_STARTin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_CATALOG_AT_STARTto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlSelectForUpdateSupportedSets a value forFlightSql.SqlInfo.SQL_SELECT_FOR_UPDATE_SUPPORTEDin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_SELECT_FOR_UPDATE_SUPPORTEDto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlStoredProceduresSupportedSets a value forFlightSql.SqlInfo.SQL_STORED_PROCEDURES_SUPPORTEDin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_STORED_PROCEDURES_SUPPORTEDto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlMaxRowSizeIncludesBlobsSets a value forFlightSql.SqlInfo.SQL_MAX_ROW_SIZE_INCLUDES_BLOBSin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_MAX_ROW_SIZE_INCLUDES_BLOBSto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlTransactionsSupportedSets a value forFlightSql.SqlInfo.SQL_TRANSACTIONS_SUPPORTEDin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_TRANSACTIONS_SUPPORTEDto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlDataDefinitionCausesTransactionCommitSets a value forFlightSql.SqlInfo.SQL_DATA_DEFINITION_CAUSES_TRANSACTION_COMMITin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_DATA_DEFINITION_CAUSES_TRANSACTION_COMMITto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlDataDefinitionsInTransactionsIgnoredSets a value forFlightSql.SqlInfo.SQL_DATA_DEFINITIONS_IN_TRANSACTIONS_IGNOREDin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_DATA_DEFINITIONS_IN_TRANSACTIONS_IGNOREDto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlBatchUpdatesSupportedSets a value forFlightSql.SqlInfo.SQL_BATCH_UPDATES_SUPPORTEDin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_BATCH_UPDATES_SUPPORTEDto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlSavepointsSupportedSets a value for { @link SqlInfo#SQL_SAVEPOINTS_SUPPORTED} in the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_SAVEPOINTS_SUPPORTEDto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlNamedParametersSupportedSets a value forFlightSql.SqlInfo.SQL_NAMED_PARAMETERS_SUPPORTEDin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_NAMED_PARAMETERS_SUPPORTEDto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlLocatorsUpdateCopySets a value forFlightSql.SqlInfo.SQL_LOCATORS_UPDATE_COPYin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_LOCATORS_UPDATE_COPYto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlStoredFunctionsUsingCallSyntaxSupportedSets a value forFlightSql.SqlInfo.SQL_STORED_FUNCTIONS_USING_CALL_SYNTAX_SUPPORTEDin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_STORED_FUNCTIONS_USING_CALL_SYNTAX_SUPPORTEDto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlIdentifierCaseSets a value forFlightSql.SqlInfo.SQL_IDENTIFIER_CASEin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_IDENTIFIER_CASEto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlQuotedIdentifierCaseSets a value forFlightSql.SqlInfo.SQL_QUOTED_IDENTIFIER_CASEin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_QUOTED_IDENTIFIER_CASEto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlAllTablesAreSelectableSets a value forFlightSql.SqlInfo.SQL_ALL_TABLES_ARE_SELECTABLEin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_ALL_TABLES_ARE_SELECTABLEto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlNullOrderingSets a value forFlightSql.SqlInfo.SQL_NULL_ORDERINGin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_NULL_ORDERINGto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlMaxBinaryLiteralLengthSets a value SqlInf @link SqlInfo#SQL_MAX_BINARY_LITERAL_LENGTH} in the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_MAX_BINARY_LITERAL_LENGTHto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlMaxCharLiteralLengthSets a value forFlightSql.SqlInfo.SQL_MAX_CHAR_LITERAL_LENGTHin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_MAX_CHAR_LITERAL_LENGTHto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlMaxColumnNameLengthSets a value forFlightSql.SqlInfo.SQL_MAX_COLUMN_NAME_LENGTHin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_MAX_COLUMN_NAME_LENGTHto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlMaxColumnsInGroupBySets a value forFlightSql.SqlInfo.SQL_MAX_COLUMNS_IN_GROUP_BYin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_MAX_COLUMNS_IN_GROUP_BYto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlMaxColumnsInIndexSets a value forFlightSql.SqlInfo.SQL_MAX_COLUMNS_IN_INDEXin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_MAX_COLUMNS_IN_INDEXto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlMaxColumnsInOrderBySets a value forFlightSql.SqlInfo.SQL_MAX_COLUMNS_IN_ORDER_BYin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_MAX_COLUMNS_IN_ORDER_BYto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlMaxColumnsInSelectSets a value forFlightSql.SqlInfo.SQL_MAX_COLUMNS_IN_SELECTin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_MAX_COLUMNS_IN_SELECTto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlMaxColumnsInTableSets a value forFlightSql.SqlInfo.SQL_MAX_COLUMNS_IN_TABLEin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_MAX_COLUMNS_IN_TABLEto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlMaxConnectionsSets a value forFlightSql.SqlInfo.SQL_MAX_CONNECTIONSin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_MAX_CONNECTIONSto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlMaxCursorNameLengthSets a value forFlightSql.SqlInfo.SQL_MAX_CURSOR_NAME_LENGTHin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_MAX_CURSOR_NAME_LENGTHto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlMaxIndexLengthSets a value forFlightSql.SqlInfo.SQL_MAX_INDEX_LENGTHin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_MAX_INDEX_LENGTHto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlDbSchemaNameLengthSets a value forFlightSql.SqlInfo.SQL_DB_SCHEMA_NAME_LENGTHin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_DB_SCHEMA_NAME_LENGTHto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlMaxProcedureNameLengthSets a value forFlightSql.SqlInfo.SQL_MAX_PROCEDURE_NAME_LENGTHin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_MAX_PROCEDURE_NAME_LENGTHto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlMaxCatalogNameLengthSets a value forFlightSql.SqlInfo.SQL_MAX_CATALOG_NAME_LENGTHin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_MAX_CATALOG_NAME_LENGTHto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlMaxRowSizeSets a value forFlightSql.SqlInfo.SQL_MAX_ROW_SIZEin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_MAX_ROW_SIZEto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlMaxStatementLengthSets a value forFlightSql.SqlInfo.SQL_MAX_STATEMENT_LENGTHin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_MAX_STATEMENT_LENGTHto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlMaxStatementsSets a value forFlightSql.SqlInfo.SQL_MAX_STATEMENTSin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_MAX_STATEMENTSto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlMaxTableNameLengthSets a value forFlightSql.SqlInfo.SQL_MAX_TABLE_NAME_LENGTHin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_MAX_TABLE_NAME_LENGTHto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlMaxTablesInSelectSets a value forFlightSql.SqlInfo.SQL_MAX_TABLES_IN_SELECTin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_MAX_TABLES_IN_SELECTto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlMaxUsernameLengthSets a value forFlightSql.SqlInfo.SQL_MAX_USERNAME_LENGTHin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_MAX_USERNAME_LENGTHto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlDefaultTransactionIsolationSets a value forFlightSql.SqlInfo.SQL_DEFAULT_TRANSACTION_ISOLATIONin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_DEFAULT_TRANSACTION_ISOLATIONto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlSupportedGroupBySets a value forFlightSql.SqlInfo.SQL_SUPPORTED_GROUP_BYin the builder.- Parameters:
- values- the value for- FlightSql.SqlInfo.SQL_SUPPORTED_GROUP_BYto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlSupportedGrammarSets a value forFlightSql.SqlInfo.SQL_SUPPORTED_GRAMMARin the builder.- Parameters:
- values- the value for- FlightSql.SqlInfo.SQL_SUPPORTED_GRAMMARto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlAnsi92SupportedLevelpublic SqlInfoBuilder withSqlAnsi92SupportedLevel(FlightSql.SupportedAnsi92SqlGrammarLevel... values) Sets a value forFlightSql.SqlInfo.SQL_ANSI92_SUPPORTED_LEVELin the builder.- Parameters:
- values- the value for- FlightSql.SqlInfo.SQL_ANSI92_SUPPORTED_LEVELto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlSchemasSupportedActionspublic SqlInfoBuilder withSqlSchemasSupportedActions(FlightSql.SqlSupportedElementActions... values) Sets a value forFlightSql.SqlInfo.SQL_SCHEMAS_SUPPORTED_ACTIONSin the builder.- Parameters:
- values- the value for- FlightSql.SqlInfo.SQL_SCHEMAS_SUPPORTED_ACTIONSto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlCatalogsSupportedActionspublic SqlInfoBuilder withSqlCatalogsSupportedActions(FlightSql.SqlSupportedElementActions... values) Sets a value forFlightSql.SqlInfo.SQL_CATALOGS_SUPPORTED_ACTIONSin the builder.- Parameters:
- values- the value for- FlightSql.SqlInfo.SQL_CATALOGS_SUPPORTED_ACTIONSto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlSupportedPositionedCommandspublic SqlInfoBuilder withSqlSupportedPositionedCommands(FlightSql.SqlSupportedPositionedCommands... values) Sets a value forFlightSql.SqlInfo.SQL_SUPPORTED_POSITIONED_COMMANDSin the builder.- Parameters:
- values- the value for- FlightSql.SqlInfo.SQL_SUPPORTED_POSITIONED_COMMANDSto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlSubQueriesSupportedSets a value forFlightSql.SqlInfo.SQL_SUPPORTED_SUBQUERIESin the builder.- Parameters:
- values- the value for- FlightSql.SqlInfo.SQL_SUPPORTED_SUBQUERIESto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlSupportedUnionsSets a value forFlightSql.SqlInfo.SQL_SUPPORTED_UNIONSin the builder.- Parameters:
- values- the values for- FlightSql.SqlInfo.SQL_SUPPORTED_UNIONSto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlOuterJoinSupportLevelSets a value forFlightSql.SqlInfo.SQL_OUTER_JOINS_SUPPORT_LEVELin the builder.- Parameters:
- value- the value for- FlightSql.SqlInfo.SQL_OUTER_JOINS_SUPPORT_LEVELto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlSupportedTransactionsIsolationLevelspublic SqlInfoBuilder withSqlSupportedTransactionsIsolationLevels(FlightSql.SqlTransactionIsolationLevel... values) Sets a value forFlightSql.SqlInfo.SQL_SUPPORTED_TRANSACTIONS_ISOLATION_LEVELSin the builder.- Parameters:
- values- the values for- FlightSql.SqlInfo.SQL_SUPPORTED_TRANSACTIONS_ISOLATION_LEVELSto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlSupportedResultSetTypesSets a value forFlightSql.SqlInfo.SQL_SUPPORTED_RESULT_SET_TYPESin the builder.- Parameters:
- values- the values for- FlightSql.SqlInfo.SQL_SUPPORTED_RESULT_SET_TYPESto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlKeywordsSets a value forFlightSql.SqlInfo.SQL_KEYWORDSin the builder.- Parameters:
- value- the values for- FlightSql.SqlInfo.SQL_KEYWORDSto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlNumericFunctionsSets a value forFlightSql.SqlInfo.SQL_NUMERIC_FUNCTIONSin the builder.- Parameters:
- value- the values for- FlightSql.SqlInfo.SQL_NUMERIC_FUNCTIONSto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlStringFunctionsSets a value forFlightSql.SqlInfo.SQL_STRING_FUNCTIONSin the builder.- Parameters:
- value- the values for- FlightSql.SqlInfo.SQL_STRING_FUNCTIONSto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlSystemFunctionsSets a value forFlightSql.SqlInfo.SQL_SYSTEM_FUNCTIONSin the builder.- Parameters:
- value- the values for- FlightSql.SqlInfo.SQL_SYSTEM_FUNCTIONSto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlDatetimeFunctionsSets a value forFlightSql.SqlInfo.SQL_DATETIME_FUNCTIONSin the builder.- Parameters:
- value- the values for- FlightSql.SqlInfo.SQL_DATETIME_FUNCTIONSto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
withSqlSupportsConvertSets a value forFlightSql.SqlInfo.SQL_SUPPORTS_CONVERTin the builder.- Parameters:
- value- the values for- FlightSql.SqlInfo.SQL_SUPPORTS_CONVERTto be set.
- Returns:
- the SqlInfoBuilder itself.
 
- 
sendSend the requested information to given ServerStreamListener.- Parameters:
- infos- List of SqlInfo to be sent.
- listener- ServerStreamListener to send data to.
 
 
-