The allocator is used to construct the VectorSchemaRoot, and
 the calendar is used to define the time zone of any ArrowType.Timestamp fields that are created during the
 conversion. Neither field may be null.
 
If the includeMetadata flag is set, the Arrow field metadata will contain
 information from the corresponding ResultSetMetaData that was used to create the
 FieldType of the corresponding FieldVector.
 
If there are any Types.ARRAY fields in the ResultSet, the
 corresponding JdbcFieldInfo for the array's contents must be defined here. Unfortunately,
 the sub-type information cannot be retrieved from all JDBC implementations (H2 for example,
 returns Types.NULL for the array sub-type), so it must be configured here. The
 column index or name can be used to map to a JdbcFieldInfo, and that will be used for the
 conversion.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceInterface for a function that gets a JDBC consumer for the given values.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final intstatic final int
- 
Method SummaryModifier and TypeMethodDescriptionThe Arrow memory allocator.getArraySubTypeByColumnIndex(int index) Returns the array sub-typeJdbcFieldInfodefined for the provided column index.Returns the array sub-typeJdbcFieldInfodefined for the provided column name.Return metadata from columnIndex->meta map on per field basis or null if not provided.getExplicitTypeByColumnIndex(int index) Returns the typeJdbcFieldInfoexplicitly defined for the provided column index.Returns the typeJdbcFieldInfoexplicitly defined for the provided column name.Gets the JDBC consumer getter.Gets the mapping between JDBC type information to Arrow type.Return schema level metadata or null if not provided.intGet the target batch size for partial read.booleanGet whether it is allowed to reuse the vector schema root.booleanWhether to include JDBC ResultSet field metadata in the Arrow Schema field metadata.
- 
Field Details- 
DEFAULT_TARGET_BATCH_SIZEpublic static final int DEFAULT_TARGET_BATCH_SIZE- See Also:
 
- 
NO_LIMIT_BATCH_SIZEpublic static final int NO_LIMIT_BATCH_SIZE- See Also:
 
 
- 
- 
Method Details- 
getCalendarThe calendar to use when defining Arrow Timestamp fields and retrievingDate,Time, orTimestampdata types from theResultSet, ornullif not converting.- Returns:
- the calendar.
 
- 
getAllocatorThe Arrow memory allocator.- Returns:
- the allocator.
 
- 
shouldIncludeMetadatapublic boolean shouldIncludeMetadata()Whether to include JDBC ResultSet field metadata in the Arrow Schema field metadata.- Returns:
- trueto include field metadata,- falseto exclude it.
 
- 
getTargetBatchSizepublic int getTargetBatchSize()Get the target batch size for partial read.
- 
isReuseVectorSchemaRootpublic boolean isReuseVectorSchemaRoot()Get whether it is allowed to reuse the vector schema root.
- 
getJdbcToArrowTypeConverterGets the mapping between JDBC type information to Arrow type.
- 
getJdbcConsumerGetterGets the JDBC consumer getter.
- 
getArraySubTypeByColumnIndexReturns the array sub-typeJdbcFieldInfodefined for the provided column index.- Parameters:
- index- The- ResultSetMetaDatacolumn index of an- Types.ARRAYtype.
- Returns:
- The JdbcFieldInfofor that array's sub-type, ornullif not defined.
 
- 
getArraySubTypeByColumnNameReturns the array sub-typeJdbcFieldInfodefined for the provided column name.- Parameters:
- name- The- ResultSetMetaDatacolumn name of an- Types.ARRAYtype.
- Returns:
- The JdbcFieldInfofor that array's sub-type, ornullif not defined.
 
- 
getExplicitTypeByColumnIndexReturns the typeJdbcFieldInfoexplicitly defined for the provided column index.- Parameters:
- index- The- ResultSetMetaDatacolumn index to evaluate for explicit type mapping.
- Returns:
- The JdbcFieldInfodefined for the column, ornullif not defined.
 
- 
getExplicitTypeByColumnNameReturns the typeJdbcFieldInfoexplicitly defined for the provided column name.- Parameters:
- name- The- ResultSetMetaDatacolumn name to evaluate for explicit type mapping.
- Returns:
- The JdbcFieldInfodefined for the column, ornullif not defined.
 
- 
getSchemaMetadataReturn schema level metadata or null if not provided.
- 
getColumnMetadataByColumnIndexReturn metadata from columnIndex->meta map on per field basis or null if not provided.
- 
getBigDecimalRoundingMode
 
-