ArrowIpcLimits class final
Resource limits applied while decoding untrusted IPC input.
Defaults are conservative; trusted callers handling larger data should pass raised limits explicitly.
Constructors
- ArrowIpcLimits({int maxDepth = 64, int maxFields = 10000, int maxRows = 1 << 20, int maxValues = 4 << 20, int maxBuffers = 1 << 16, int maxMessageBytes = 64 << 20, int maxDictionaries = 1024, int maxBatches = 1 << 20})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxBatches → int
-
Maximum number of record batches.
final
- maxBuffers → int
-
Maximum number of field nodes or buffers in one message.
final
- maxDepth → int
-
Maximum type nesting depth.
final
- maxDictionaries → int
-
Maximum number of dictionary batches.
final
- maxFields → int
-
Maximum number of fields (including nested children) in a schema.
final
- maxMessageBytes → int
-
Maximum size of a message's metadata or body.
final
- maxRows → int
-
Maximum length of any single array node.
final
- maxValues → int
-
Maximum total of all field node lengths decoded for one table. Every
decoded slot materialises a Dart object, so this bounds memory even for
layouts (such as Null) whose wire size is independent of length.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited