Uses of Interface
org.apache.arrow.vector.dictionary.DictionaryProvider
Packages that use DictionaryProvider
Package
Description
-
Uses of DictionaryProvider in org.apache.arrow.flight
Methods in org.apache.arrow.flight that return DictionaryProviderModifier and TypeMethodDescriptionFlightStream.getDictionaryProvider()
Get the provider for dictionaries in this stream.FlightStream.takeDictionaryOwnership()
Get an owned reference to the dictionaries in this stream.Methods in org.apache.arrow.flight with parameters of type DictionaryProviderModifier and TypeMethodDescriptiondefault void
OutboundStreamListener.start
(VectorSchemaRoot root, DictionaryProvider dictionaries) Start sending data, using the schema of the givenVectorSchemaRoot
.void
OutboundStreamListener.start
(VectorSchemaRoot root, DictionaryProvider dictionaries, IpcOption option) Start sending data, using the schema of the givenVectorSchemaRoot
.FlightClient.startPut
(FlightDescriptor descriptor, VectorSchemaRoot root, DictionaryProvider provider, FlightClient.PutListener metadataListener, CallOption... options) Create or append a descriptor with another stream. -
Uses of DictionaryProvider in org.apache.arrow.vector.dictionary
Classes in org.apache.arrow.vector.dictionary that implement DictionaryProviderModifier and TypeClassDescriptionstatic class
Implementation ofDictionaryProvider
that is backed by a hash-map.Methods in org.apache.arrow.vector.dictionary with parameters of type DictionaryProviderModifier and TypeMethodDescriptionvoid
DictionaryProvider.MapDictionaryProvider.copyStructureFrom
(DictionaryProvider other, BufferAllocator allocator) Initialize the map structure from another provider, but with empty vectors. -
Uses of DictionaryProvider in org.apache.arrow.vector.ipc
Classes in org.apache.arrow.vector.ipc that implement DictionaryProviderModifier and TypeClassDescriptionclass
An implementation ofArrowReader
that reads the standard arrow binary file format.class
Abstract class to read Schema and ArrowRecordBatches.class
This class reads from an input stream and produces ArrowRecordBatches.class
A reader for JSON files that translates them into vectors.Methods in org.apache.arrow.vector.ipc with parameters of type DictionaryProviderModifier and TypeMethodDescriptionprotected void
ArrowFileWriter.ensureDictionariesWritten
(DictionaryProvider provider, Set<Long> dictionaryIdsUsed) protected void
ArrowStreamWriter.ensureDictionariesWritten
(DictionaryProvider provider, Set<Long> dictionaryIdsUsed) protected abstract void
ArrowWriter.ensureDictionariesWritten
(DictionaryProvider provider, Set<Long> dictionaryIdsUsed) Write dictionaries after schema and before recordBatches, dictionaries won't be written if empty stream (only has schema data in IPC).void
JsonFileWriter.start
(Schema schema, DictionaryProvider provider) Writes out the "header" of the file including the schema and any dictionaries required.Constructors in org.apache.arrow.vector.ipc with parameters of type DictionaryProviderModifierConstructorDescriptionArrowFileWriter
(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out) ArrowFileWriter
(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out, Map<String, String> metaData) ArrowFileWriter
(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out, Map<String, String> metaData, IpcOption option) ArrowFileWriter
(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out, Map<String, String> metaData, IpcOption option, CompressionCodec.Factory compressionFactory, CompressionUtil.CodecType codecType) ArrowFileWriter
(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out, Map<String, String> metaData, IpcOption option, CompressionCodec.Factory compressionFactory, CompressionUtil.CodecType codecType, Optional<Integer> compressionLevel) ArrowFileWriter
(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out, IpcOption option) ArrowStreamWriter
(VectorSchemaRoot root, DictionaryProvider provider, OutputStream out) Construct an ArrowStreamWriter with an optional DictionaryProvider for the OutputStream.ArrowStreamWriter
(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out) Construct an ArrowStreamWriter with an optional DictionaryProvider for the WritableByteChannel.ArrowStreamWriter
(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out, IpcOption option) Construct an ArrowStreamWriter with an optional DictionaryProvider for the WritableByteChannel.ArrowStreamWriter
(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out, IpcOption option, CompressionCodec.Factory compressionFactory, CompressionUtil.CodecType codecType) Construct an ArrowStreamWriter with compression enabled.ArrowStreamWriter
(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out, IpcOption option, CompressionCodec.Factory compressionFactory, CompressionUtil.CodecType codecType, Optional<Integer> compressionLevel) Construct an ArrowStreamWriter with compression enabled.protected
ArrowWriter
(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out) protected
ArrowWriter
(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out, IpcOption option) protected
ArrowWriter
(VectorSchemaRoot root, DictionaryProvider provider, WritableByteChannel out, IpcOption option, CompressionCodec.Factory compressionFactory, CompressionUtil.CodecType codecType, Optional<Integer> compressionLevel) Note: fields are not closed when the writer is closed. -
Uses of DictionaryProvider in org.apache.arrow.vector.table
Fields in org.apache.arrow.vector.table declared as DictionaryProviderModifier and TypeFieldDescriptionprotected DictionaryProvider
BaseTable.dictionaryProvider
An optional DictionaryProvider.Methods in org.apache.arrow.vector.table that return DictionaryProviderModifier and TypeMethodDescriptionBaseTable.getDictionaryProvider()
Returns the DictionaryProvider for this table.Constructors in org.apache.arrow.vector.table with parameters of type DictionaryProviderModifierConstructorDescriptionBaseTable
(List<FieldVector> fieldVectors, int rowCount, DictionaryProvider provider) Constructs new instance with the given rowCount, and containing the schema and each of the given vectors.Table
(List<FieldVector> fieldVectors, int rowCount, DictionaryProvider provider) Constructs a new instance. -
Uses of DictionaryProvider in org.apache.arrow.vector.util
Methods in org.apache.arrow.vector.util with parameters of type DictionaryProviderModifier and TypeMethodDescriptionstatic void
Validator.compareDictionaries
(List<DictionaryEncoding> encodings1, List<DictionaryEncoding> encodings2, DictionaryProvider provider1, DictionaryProvider provider2) Validate two Dictionary encodings and dictionaries with id's from the encodings.static void
Validator.compareDictionaryProviders
(DictionaryProvider provider1, DictionaryProvider provider2) Validate two dictionary providers are equal in structure and contents.static Field
DictionaryUtility.toMessageFormat
(Field field, DictionaryProvider provider, Set<Long> dictionaryIdsUsed) Convert field and child fields that have a dictionary encoding to message format, so fields have the dictionary type.