@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()
Returns True if this file should not be part of a minor compaction.
|
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()
Returns Encoded Path if this StoreFile was made with a Stream.
|
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()
Returns This files maximum edit sequence id.
|
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()
Returns Path or null if this StoreFile was made with a Stream.
|
org.apache.hadoop.fs.Path |
getQualifiedPath()
Returns Returns the qualified path of this StoreFile
|
boolean |
isBulkLoadResult()
Check if this storefile was created by bulk load.
|
boolean |
isHFile()
Returns True if this is HFile.
|
boolean |
isMajorCompactionResult()
Returns True if this file was made by a major compaction.
|
boolean |
isReference()
Returns True if this is a StoreFile Reference.
|
String |
toStringDetailed()
Returns a length description of this StoreFile, suitable for debug output
|
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.