Class AmpleImpl
- java.lang.Object
-
- org.apache.accumulo.core.metadata.schema.AmpleImpl
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.accumulo.core.metadata.schema.Ample
Ample.DataLevel, Ample.ReadConsistency, Ample.TabletMutator, Ample.TabletsMutator
-
-
Constructor Summary
Constructors Constructor Description AmpleImpl(AccumuloClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TabletMetadata
readTablet(KeyExtent extent, Ample.ReadConsistency readConsistency, TabletMetadata.ColumnType... colsToFetch)
Read a single tablets metadata.TabletsMetadata.TableOptions
readTablets()
Entry point for reading multiple tablets' metadata.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.accumulo.core.metadata.schema.Ample
createDeleteMutation, deleteExternalCompactionFinalStates, deleteGcCandidates, deleteScanServerFileReferences, deleteScanServerFileReferences, getExternalCompactionFinalStates, getGcCandidates, getScanServerFileReferences, mutateTablet, mutateTablets, putExternalCompactionFinalStates, putGcCandidates, putGcFileAndDirCandidates, putScanServerFileReferences, readTablet
-
-
-
-
Constructor Detail
-
AmpleImpl
public AmpleImpl(AccumuloClient client)
-
-
Method Detail
-
readTablet
public TabletMetadata readTablet(KeyExtent extent, Ample.ReadConsistency readConsistency, TabletMetadata.ColumnType... colsToFetch)
Description copied from interface:Ample
Read a single tablets metadata. No checking is done for prev row, so it could differ.- Specified by:
readTablet
in interfaceAmple
- Parameters:
extent
- Reads tablet metadata using the table id and end row from this extent.readConsistency
- Controls how the data is read.colsToFetch
- What tablets columns to fetch. If empty, then everything is fetched.
-
readTablets
public TabletsMetadata.TableOptions readTablets()
Description copied from interface:Ample
Entry point for reading multiple tablets' metadata. Generates a TabletsMetadata builder object and assigns the AmpleImpl client to that builder object. This allows readTablets() to be called from a ClientContext. Associated methods of the TabletsMetadata Builder class are used to generate the metadata.- Specified by:
readTablets
in interfaceAmple
-
-