Uses of Class
org.apache.hadoop.hbase.util.Pair

Packages that use Pair
org.apache.hadoop.hbase.catalog   
org.apache.hadoop.hbase.client Provides HBase Client 
org.apache.hadoop.hbase.constraint Restrict the domain of a data attribute, often times to fulfill business rules/requirements. 
org.apache.hadoop.hbase.coprocessor Table of Contents 
org.apache.hadoop.hbase.filter Provides row-level filters applied to HRegion scan results during calls to ResultScanner.next()
org.apache.hadoop.hbase.io.hfile Provides the hbase data+index+metadata file. 
org.apache.hadoop.hbase.ipc Tools to help define network clients and servers. 
org.apache.hadoop.hbase.mapreduce Provides HBase MapReduce Input/OutputFormats, a table indexing MapReduce job, and utility 
org.apache.hadoop.hbase.master   
org.apache.hadoop.hbase.master.snapshot   
org.apache.hadoop.hbase.metrics   
org.apache.hadoop.hbase.regionserver   
org.apache.hadoop.hbase.regionserver.metrics   
org.apache.hadoop.hbase.security.access   
org.apache.hadoop.hbase.tool   
org.apache.hadoop.hbase.util   
 

Uses of Pair in org.apache.hadoop.hbase.catalog
 

Methods in org.apache.hadoop.hbase.catalog that return Pair
static Pair<HRegionInfo,ServerName> MetaReader.getRegion(CatalogTracker catalogTracker, byte[] regionName)
          Gets the region info and assignment for the specified region.
static Pair<HRegionInfo,ServerName> MetaReader.parseCatalogResult(Result r)
          Extract a HRegionInfo and ServerName.
 

Methods in org.apache.hadoop.hbase.catalog that return types with arguments of type Pair
static List<Pair<HRegionInfo,ServerName>> MetaReader.getTableRegionsAndLocations(CatalogTracker catalogTracker, byte[] tableName, boolean excludeOfflinedSplitParents)
           
static List<Pair<HRegionInfo,ServerName>> MetaReader.getTableRegionsAndLocations(CatalogTracker catalogTracker, String tableName)
           
 

Uses of Pair in org.apache.hadoop.hbase.client
 

Methods in org.apache.hadoop.hbase.client that return Pair
 Pair<Integer,Integer> HBaseAdmin.getAlterStatus(byte[] tableName)
          Get the status of alter command - indicates how many regions have received the updated schema Asynchronous operation.
 Pair<byte[][],byte[][]> HTable.getStartEndKeys()
          Gets the starting and ending row keys for every region in the currently open table.
 

Methods in org.apache.hadoop.hbase.client that return types with arguments of type Pair
 Map<byte[],List<Pair<Integer,Object>>> MultiResponse.getResults()
           
 

Methods in org.apache.hadoop.hbase.client with parameters of type Pair
 void MultiResponse.add(byte[] regionName, Pair<Integer,Object> r)
          Add the pair to the container, grouped by the regionName
 

Uses of Pair in org.apache.hadoop.hbase.constraint
 

Methods in org.apache.hadoop.hbase.constraint with parameters of type Pair
static void Constraints.add(HTableDescriptor desc, Pair<Class<? extends Constraint>,org.apache.hadoop.conf.Configuration>... constraints)
          Add constraints and their associated configurations to the table.
 

Uses of Pair in org.apache.hadoop.hbase.coprocessor
 

Methods in org.apache.hadoop.hbase.coprocessor that return Pair
<T,S> Pair<S,Long>
AggregateProtocol.getAvg(ColumnInterpreter<T,S> ci, Scan scan)
          Gives a Pair with first object as Sum and second object as row count, computed for a given combination of column qualifier and column family in the given row range as defined in the Scan object.
<T,S> Pair<S,Long>
AggregateImplementation.getAvg(ColumnInterpreter<T,S> ci, Scan scan)
           
<T,S> Pair<List<S>,Long>
AggregateProtocol.getStd(ColumnInterpreter<T,S> ci, Scan scan)
          Gives a Pair with first object a List containing Sum and sum of squares, and the second object as row count.
<T,S> Pair<List<S>,Long>
AggregateImplementation.getStd(ColumnInterpreter<T,S> ci, Scan scan)
           
 

Method parameters in org.apache.hadoop.hbase.coprocessor with type arguments of type Pair
 boolean SecureBulkLoadClient.bulkLoadHFiles(List<Pair<byte[],String>> familyPaths, org.apache.hadoop.security.token.Token<?> userToken, String bulkToken)
           
 boolean SecureBulkLoadClient.bulkLoadHFiles(List<Pair<byte[],String>> familyPaths, org.apache.hadoop.security.token.Token<?> userToken, String bulkToken, boolean assignSeqNum)
           
 void BaseRegionObserver.postBatchMutate(ObserverContext<RegionCoprocessorEnvironment> c, MiniBatchOperationInProgress<Pair<Mutation,Integer>> miniBatchOp)
           
 void RegionObserver.postBatchMutate(ObserverContext<RegionCoprocessorEnvironment> c, MiniBatchOperationInProgress<Pair<Mutation,Integer>> miniBatchOp)
          This will be called after applying a batch of Mutations on a region.
 boolean BaseRegionObserver.postBulkLoadHFile(ObserverContext<RegionCoprocessorEnvironment> ctx, List<Pair<byte[],String>> familyPaths, boolean hasLoaded)
           
 boolean RegionObserver.postBulkLoadHFile(ObserverContext<RegionCoprocessorEnvironment> ctx, List<Pair<byte[],String>> familyPaths, boolean hasLoaded)
          Called after bulkLoadHFile.
 void BaseRegionObserver.preBatchMutate(ObserverContext<RegionCoprocessorEnvironment> c, MiniBatchOperationInProgress<Pair<Mutation,Integer>> miniBatchOp)
           
 void RegionObserver.preBatchMutate(ObserverContext<RegionCoprocessorEnvironment> c, MiniBatchOperationInProgress<Pair<Mutation,Integer>> miniBatchOp)
          This will be called for every batch mutation operation happening at the server.
 void BaseRegionObserver.preBulkLoadHFile(ObserverContext<RegionCoprocessorEnvironment> ctx, List<Pair<byte[],String>> familyPaths)
           
 void RegionObserver.preBulkLoadHFile(ObserverContext<RegionCoprocessorEnvironment> ctx, List<Pair<byte[],String>> familyPaths)
          Called before bulkLoadHFile.
 

Uses of Pair in org.apache.hadoop.hbase.filter
 

Constructor parameters in org.apache.hadoop.hbase.filter with type arguments of type Pair
FuzzyRowFilter(List<Pair<byte[],byte[]>> fuzzyKeysData)
           
 

Uses of Pair in org.apache.hadoop.hbase.io.hfile
 

Methods in org.apache.hadoop.hbase.io.hfile that return Pair
 Pair<ByteBuffer,BlockType> HFileDataBlockEncoderImpl.beforeWriteToDisk(ByteBuffer in, boolean includesMemstoreTS, byte[] dummyHeader)
          Precondition: a non-encoded buffer.
 Pair<ByteBuffer,BlockType> NoOpDataBlockEncoder.beforeWriteToDisk(ByteBuffer in, boolean includesMemstoreTS, byte[] dummyHeader)
           
 Pair<ByteBuffer,BlockType> HFileDataBlockEncoder.beforeWriteToDisk(ByteBuffer in, boolean includesMemstoreTS, byte[] dummyHeader)
          Should be called before an encoded or unencoded data block is written to disk.
 

Uses of Pair in org.apache.hadoop.hbase.ipc
 

Methods in org.apache.hadoop.hbase.ipc that return Pair
 Pair<Integer,Integer> HMasterInterface.getAlterStatus(byte[] tableName)
          Used by the client to get the number of regions that have received the updated schema
 

Method parameters in org.apache.hadoop.hbase.ipc with type arguments of type Pair
 boolean HRegionInterface.bulkLoadHFiles(List<Pair<byte[],String>> familyPaths, byte[] regionName)
          Atomically bulk load multiple HFiles (say from different column families) into an open region.
 boolean HRegionInterface.bulkLoadHFiles(List<Pair<byte[],String>> familyPaths, byte[] regionName, boolean assignSeqNum)
          Atomically bulk load multiple HFiles (say from different column families) into an open region.
 

Uses of Pair in org.apache.hadoop.hbase.mapreduce
 

Methods in org.apache.hadoop.hbase.mapreduce with parameters of type Pair
protected  List<org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.LoadQueueItem> LoadIncrementalHFiles.groupOrSplit(com.google.common.collect.Multimap<ByteBuffer,org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.LoadQueueItem> regionGroups, org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles.LoadQueueItem item, HTable table, Pair<byte[][],byte[][]> startEndKeys)
          Attempt to assign the given load queue item into its target region group.
 

Uses of Pair in org.apache.hadoop.hbase.master
 

Methods in org.apache.hadoop.hbase.master that return Pair
 Pair<Integer,Integer> HMaster.getAlterStatus(byte[] tableName)
          Get the number of regions of the table that have been updated by the alter.
 Pair<Integer,Integer> AssignmentManager.getReopenStatus(byte[] tableName)
          Used by the client to identify if all regions have the schema updates
 Pair<Set<HRegionInfo>,List<AssignmentManager.RegionState>> AssignmentManager.processServerShutdown(ServerName sn)
          Start processing of shutdown server.
 

Uses of Pair in org.apache.hadoop.hbase.master.snapshot
 

Method parameters in org.apache.hadoop.hbase.master.snapshot with type arguments of type Pair
 void DisabledTableSnapshotHandler.snapshotRegions(List<Pair<HRegionInfo,ServerName>> regionsAndLocations)
           
protected abstract  void TakeSnapshotHandler.snapshotRegions(List<Pair<HRegionInfo,ServerName>> regions)
          Snapshot the specified regions
protected  void EnabledTableSnapshotHandler.snapshotRegions(List<Pair<HRegionInfo,ServerName>> regions)
          This method kicks off a snapshot procedure.
 

Uses of Pair in org.apache.hadoop.hbase.metrics
 

Methods in org.apache.hadoop.hbase.metrics that return types with arguments of type Pair
 List<Pair<String,Long>> ExactCounterMetric.getTop(int n)
           
 

Uses of Pair in org.apache.hadoop.hbase.regionserver
 

Methods in org.apache.hadoop.hbase.regionserver that return types with arguments of type Pair
 List<Pair<Long,Long>> HRegion.getRecentFlushInfo()
           
 

Methods in org.apache.hadoop.hbase.regionserver with parameters of type Pair
 OperationStatus[] HRegion.batchMutate(Pair<Mutation,Integer>[] mutationsAndLocks)
          Perform a batch of mutations.
 OperationStatus[] HRegion.put(Pair<Put,Integer>[] putsAndLocks)
          Deprecated. Instead use HRegion.batchMutate(Pair[])
 

Method parameters in org.apache.hadoop.hbase.regionserver with type arguments of type Pair
 boolean HRegion.bulkLoadHFiles(List<Pair<byte[],String>> familyPaths)
          Attempts to atomically load a group of hfiles.
 boolean HRegion.bulkLoadHFiles(List<Pair<byte[],String>> familyPaths, boolean assignSeqId)
          Attempts to atomically load a group of hfiles.
 boolean HRegionServer.bulkLoadHFiles(List<Pair<byte[],String>> familyPaths, byte[] regionName)
          Atomically bulk load several HFiles into an open region
 boolean HRegionServer.bulkLoadHFiles(List<Pair<byte[],String>> familyPaths, byte[] regionName, boolean assignSeqNum)
          Atomically bulk load several HFiles into an open region
 boolean HRegion.bulkLoadHFiles(List<Pair<byte[],String>> familyPaths, HRegion.BulkLoadListener bulkLoadListener)
          Attempts to atomically load a group of hfiles.
 boolean HRegion.bulkLoadHFiles(List<Pair<byte[],String>> familyPaths, HRegion.BulkLoadListener bulkLoadListener, boolean assignSeqId)
          Attempts to atomically load a group of hfiles.
 void RegionCoprocessorHost.postBatchMutate(MiniBatchOperationInProgress<Pair<Mutation,Integer>> miniBatchOp)
           
 boolean RegionCoprocessorHost.postBulkLoadHFile(List<Pair<byte[],String>> familyPaths, boolean hasLoaded)
           
 boolean RegionCoprocessorHost.preBatchMutate(MiniBatchOperationInProgress<Pair<Mutation,Integer>> miniBatchOp)
           
 boolean RegionCoprocessorHost.preBulkLoadHFile(List<Pair<byte[],String>> familyPaths)
           
 

Uses of Pair in org.apache.hadoop.hbase.regionserver.metrics
 

Methods in org.apache.hadoop.hbase.regionserver.metrics that return Pair
static Pair<Long,Integer> RegionMetricsStorage.getTimeVaryingMetric(String key)
           
 

Methods in org.apache.hadoop.hbase.regionserver.metrics that return types with arguments of type Pair
static Map<String,Pair<AtomicLong,AtomicInteger>> RegionMetricsStorage.getTimeVaryingMetrics()
           
 

Method parameters in org.apache.hadoop.hbase.regionserver.metrics with type arguments of type Pair
 void RegionServerMetrics.addFlush(List<Pair<Long,Long>> flushes)
           
 

Uses of Pair in org.apache.hadoop.hbase.security.access
 

Method parameters in org.apache.hadoop.hbase.security.access with type arguments of type Pair
 boolean SecureBulkLoadEndpoint.bulkLoadHFiles(List<Pair<byte[],String>> familyPaths, org.apache.hadoop.security.token.Token<?> userToken, String bulkToken, boolean assignSeqNum)
           
 boolean SecureBulkLoadProtocol.bulkLoadHFiles(List<Pair<byte[],String>> familyPaths, org.apache.hadoop.security.token.Token<?> userToken, String bulkToken, boolean assignSeqNum)
          Secure version of HRegionServer.bulkLoadHFiles().
 void AccessController.preBulkLoadHFile(ObserverContext<RegionCoprocessorEnvironment> ctx, List<Pair<byte[],String>> familyPaths)
          Verifies user has WRITE privileges on the Column Families involved in the bulkLoadHFile request.
 

Uses of Pair in org.apache.hadoop.hbase.tool
 

Method parameters in org.apache.hadoop.hbase.tool with type arguments of type Pair
 void WriteSinkCoprocessor.preBatchMutate(ObserverContext<RegionCoprocessorEnvironment> c, MiniBatchOperationInProgress<Pair<Mutation,Integer>> miniBatchOp)
           
 

Uses of Pair in org.apache.hadoop.hbase.util
 

Methods in org.apache.hadoop.hbase.util that return Pair
static
<T1,T2> Pair<T1,T2>
Pair.newPair(T1 a, T2 b)
          Constructs a new pair, inferring the type via the passed arguments
 



Copyright © 2015 The Apache Software Foundation. All Rights Reserved.