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.IOException
void 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.IOException
InterruptedException
void storeFileMetadata(long fileId, ByteBuffer metadata, ByteBuffer[] addedCols, ByteBuffer[] addedVals) throws IOException, InterruptedException
fileId
- The file ID.metadataBuffers
- 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.IOException
InterruptedException
Copyright © 2016 The Apache Software Foundation. All rights reserved.