public interface MetadataStore
| Modifier and Type | Method and Description |
|---|---|
void |
getFileMetadata(List<Long> fileIds,
ByteBuffer[] result) |
void |
storeFileMetadata(List<Long> fileIds,
List<ByteBuffer> metadataBuffers,
ByteBuffer[] addedCols,
ByteBuffer[][] addedVals) |
void |
storeFileMetadata(long fileId,
ByteBuffer metadata,
ByteBuffer[] addedCols,
ByteBuffer[] addedVals) |
void getFileMetadata(List<Long> fileIds, ByteBuffer[] result) throws IOException
fileIds - file ID list.result - The ref parameter, used to return the serialized file metadata.IOExceptionvoid storeFileMetadata(List<Long> fileIds, List<ByteBuffer> metadataBuffers, ByteBuffer[] addedCols, ByteBuffer[][] addedVals) throws IOException, InterruptedException
fileIds - file ID list.metadataBuffers - Serialized file metadata, one per file ID.addedCols - The column names for additional columns created by file-format-specific
metadata handler, to be stored in the cache.addedVals - The values for addedCols; one value per file ID per added column.IOExceptionInterruptedExceptionvoid storeFileMetadata(long fileId,
ByteBuffer metadata,
ByteBuffer[] addedCols,
ByteBuffer[] addedVals)
throws IOException,
InterruptedException
fileId - The file ID.metadata - Serialized file metadata.addedCols - The column names for additional columns created by file-format-specific
metadata handler, to be stored in the cache.addedVals - The values for addedCols; one value per added column.IOExceptionInterruptedExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.