DCFDatasetMetadata class

Dataset metadata

Constructors

DCFDatasetMetadata({required String name, required String path, required List<int> shape, required String dtype, List<int>? chunkShape, String? compression, int? compressionLevel, Map<String, dynamic> attributes = const {}, required int dataOffset, required int numChunks})
DCFDatasetMetadata.fromJson(Map<String, dynamic> json)
Create from JSON
factory

Properties

attributes Map<String, dynamic>
Custom attributes
final
chunkShape List<int>?
Chunk shape
final
compression String?
Compression codec
final
compressionLevel int?
Compression level
final
dataOffset int
Offset to first chunk
final
dtype String
Data type
final
hashCode int
The hash code for this object.
no setterinherited
name String
Dataset name
final
numChunks int
Number of chunks
final
path String
Dataset path
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape List<int>
Data shape
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Convert to JSON
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited