@Namespace(value="tensorflow::io") @NoOffset @Properties(inherit=tensorflow.class) public class RecordReader extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
RecordReader.Metadata |
static class |
RecordReader.Stats |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static long |
kFooterSize |
static long |
kHeaderSize |
Constructor and Description |
---|
RecordReader(Pointer p)
Pointer cast constructor.
|
RecordReader(RandomAccessFile file) |
RecordReader(RandomAccessFile file,
RecordReaderOptions options) |
Modifier and Type | Method and Description |
---|---|
Status |
GetMetadata(RecordReader.Metadata md) |
static long |
kFooterSize() |
static long |
kHeaderSize() |
Status |
ReadRecord(long[] offset,
BytePointer record) |
Status |
ReadRecord(LongBuffer offset,
BytePointer record) |
Status |
ReadRecord(LongPointer offset,
BytePointer record) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public static final long kHeaderSize
public static final long kFooterSize
public RecordReader(Pointer p)
Pointer(Pointer)
.public RecordReader(RandomAccessFile file, @Const @ByRef(nullValue="tensorflow::io::RecordReaderOptions()") RecordReaderOptions options)
public RecordReader(RandomAccessFile file)
@MemberGetter @Cast(value="const size_t") public static long kHeaderSize()
@MemberGetter @Cast(value="const size_t") public static long kFooterSize()
@ByVal public Status ReadRecord(@Cast(value="tensorflow::uint64*") LongPointer offset, @StdString @Cast(value={"char*","std::string*"}) BytePointer record)
@ByVal public Status ReadRecord(@Cast(value="tensorflow::uint64*") LongBuffer offset, @StdString @Cast(value={"char*","std::string*"}) BytePointer record)
@ByVal public Status ReadRecord(@Cast(value="tensorflow::uint64*") long[] offset, @StdString @Cast(value={"char*","std::string*"}) BytePointer record)
@ByVal public Status GetMetadata(RecordReader.Metadata md)
Copyright © 2022. All rights reserved.