Class CompactableFileImpl
- java.lang.Object
-
- org.apache.accumulo.core.metadata.CompactableFileImpl
-
- All Implemented Interfaces:
CompactableFile
public class CompactableFileImpl extends Object implements CompactableFile
-
-
Constructor Summary
Constructors Constructor Description CompactableFileImpl(URI uri, long size, long entries)CompactableFileImpl(StoredTabletFile storedTabletFile, DataFileValue dataFileValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)longgetEstimatedEntries()longgetEstimatedSize()StringgetFileName()StoredTabletFilegetStortedTabletFile()URIgetUri()inthashCode()static StoredTabletFiletoStoredTabletFile(CompactableFile cf)StringtoString()
-
-
-
Constructor Detail
-
CompactableFileImpl
public CompactableFileImpl(URI uri, long size, long entries)
-
CompactableFileImpl
public CompactableFileImpl(StoredTabletFile storedTabletFile, DataFileValue dataFileValue)
-
-
Method Detail
-
getUri
public URI getUri()
- Specified by:
getUriin interfaceCompactableFile
-
getFileName
public String getFileName()
- Specified by:
getFileNamein interfaceCompactableFile
-
getEstimatedSize
public long getEstimatedSize()
- Specified by:
getEstimatedSizein interfaceCompactableFile
-
getEstimatedEntries
public long getEstimatedEntries()
- Specified by:
getEstimatedEntriesin interfaceCompactableFile
-
getStortedTabletFile
public StoredTabletFile getStortedTabletFile()
-
toStoredTabletFile
public static StoredTabletFile toStoredTabletFile(CompactableFile cf)
-
-