Module org.apache.arrow.flight.sql
Package org.apache.arrow.flight.sql
Class FlightSqlColumnMetadata.Builder
java.lang.Object
org.apache.arrow.flight.sql.FlightSqlColumnMetadata.Builder
- Enclosing class:
- FlightSqlColumnMetadata
Builder of FlightSqlColumnMetadata, used on FlightSqlProducer implementations.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds a new instance of FlightSqlColumnMetadata.catalogName(String catalogName) Sets the catalog name.isAutoIncrement(boolean isAutoIncrement) Sets if the column is auto incremented.isCaseSensitive(boolean isCaseSensitive) Sets if the column is case-sensitive.isReadOnly(boolean isReadOnly) Sets if the column is read only.isSearchable(boolean isSearchable) Sets if the column is searchable.precision(int precision) Sets the precision / column size.scale(int scale) Sets the scale / decimal digits.schemaName(String schemaName) Sets the schema name.Sets the table name.Sets the type name.
- 
Constructor Details- 
Builderpublic Builder()Creates a new instance of FlightSqlColumnMetadata.Builder.
 
- 
- 
Method Details- 
catalogNameSets the catalog name.- Parameters:
- catalogName- the catalog name.
- Returns:
- This builder.
 
- 
schemaNameSets the schema name.- Parameters:
- schemaName- The schema name.
- Returns:
- This builder.
 
- 
tableNameSets the table name.- Parameters:
- tableName- The table name.
- Returns:
- This builder.
 
- 
typeNameSets the type name.- Parameters:
- typeName- The type name.
- Returns:
- This builder.
 
- 
precisionSets the precision / column size.- Parameters:
- precision- The precision / column size.
- Returns:
- This builder.
 
- 
scaleSets the scale / decimal digits.- Parameters:
- scale- The scale / decimal digits.
- Returns:
- This builder.
 
- 
isAutoIncrementSets if the column is auto incremented.- Parameters:
- isAutoIncrement- True if the column is auto incremented.
- Returns:
- This builder.
 
- 
isCaseSensitiveSets if the column is case-sensitive.- Parameters:
- isCaseSensitive- If the column is case-sensitive.
- Returns:
- This builder.
 
- 
isReadOnlySets if the column is read only.- Parameters:
- isReadOnly- If the column is read only.
- Returns:
- This builder.
 
- 
isSearchableSets if the column is searchable.- Parameters:
- isSearchable- If the column is searchable.
- Returns:
- This builder.
 
- 
buildBuilds a new instance of FlightSqlColumnMetadata.- Returns:
- A new instance of FlightSqlColumnMetadata.
 
 
-