@InterfaceAudience.LimitedPrivate(value="Coprocesssor") @InterfaceStability.Evolving public interface StoreFile
NOTICE: this interface is mainly designed for coprocessor, so it will not expose
all the internal APIs for a 'store file'. If you are implementing something inside HBase, i.e,
not a coprocessor hook, usually you should use HStoreFile
directly as it is the only
implementation of this interface.
Modifier and Type | Method and Description |
---|---|
boolean |
excludeFromMinorCompaction() |
OptionalLong |
getBulkLoadTimestamp()
Return the timestamp at which this bulk load file was generated.
|
CellComparator |
getComparator()
Get the comparator for comparing two cells.
|
org.apache.hadoop.fs.Path |
getEncodedPath() |
Optional<Cell> |
getFirstKey()
Get the first key in this store file.
|
Optional<Cell> |
getLastKey()
Get the last key in this store file.
|
OptionalLong |
getMaximumTimestamp()
Get the max timestamp of all the cells in the store file.
|
long |
getMaxMemStoreTS()
Get max of the MemstoreTS in the KV's in this store file.
|
long |
getMaxSequenceId() |
OptionalLong |
getMinimumTimestamp()
Get the min timestamp of all the cells in the store file.
|
long |
getModificationTimestamp()
Get the modification time of this store file.
|
long |
getModificationTimeStamp()
Deprecated.
Since 2.0.0. Will be removed in 3.0.0.
|
org.apache.hadoop.fs.Path |
getPath() |
org.apache.hadoop.fs.Path |
getQualifiedPath() |
boolean |
isBulkLoadResult()
Check if this storefile was created by bulk load.
|
boolean |
isHFile() |
boolean |
isMajorCompactionResult() |
boolean |
isReference() |
String |
toStringDetailed() |
Optional<Cell> getFirstKey()
Optional<Cell> getLastKey()
CellComparator getComparator()
long getMaxMemStoreTS()
org.apache.hadoop.fs.Path getPath()
org.apache.hadoop.fs.Path getEncodedPath()
org.apache.hadoop.fs.Path getQualifiedPath()
boolean isReference()
boolean isHFile()
boolean isMajorCompactionResult()
boolean excludeFromMinorCompaction()
long getMaxSequenceId()
@Deprecated long getModificationTimeStamp() throws IOException
IOException
getModificationTimestamp()
long getModificationTimestamp() throws IOException
IOException
boolean isBulkLoadResult()
'_SeqId_<id-when-loaded>'
to the hfile name, unless
"hbase.mapreduce.bulkload.assign.sequenceNumbers" is explicitly turned off. If
"hbase.mapreduce.bulkload.assign.sequenceNumbers" is turned off, fall back to
BULKLOAD_TIME_KEY.OptionalLong getBulkLoadTimestamp()
String toStringDetailed()
OptionalLong getMinimumTimestamp()
OptionalLong getMaximumTimestamp()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.