Uses of Interface
org.apache.hadoop.hbase.Cell
Packages that use Cell
Package
Description
Provides HBase Client
Provides client classes for invoking Coprocessor RPC protocols
Overview
Example Usage
Table of Contents
Provides row-level filters applied to HRegion scan results during calls to
ResultScanner.next().Provides implementations of
HFile and HFile
BlockCache.Provides HBase MapReduce
Input/OutputFormats, a table indexing MapReduce job, and utility methods.
Multi Cluster Replication
HBase REST
Provides an HBase Thrift
service.
Provides an HBase Thrift
service.
-
Uses of Cell in org.apache.hadoop.hbase
Subinterfaces of Cell in org.apache.hadoop.hbaseModifier and TypeInterfaceDescriptioninterfaceExtension toCellwith server side required functions.interfaceAn extended version of Cell that allows CPs manipulate Tags.Classes in org.apache.hadoop.hbase that implement CellModifier and TypeClassDescriptionclassThis class is a server side extension to theCellinterface.classThis is a key only Cell implementation which is identical toKeyValue.KeyOnlyKeyValuewith respect to key serialization but have its data in the form of Byte buffer (onheap and offheap).classThis Cell is an implementation ofByteBufferExtendedCellwhere the data resides in off heap/ on heap ByteBufferclassclassAn HBase Key/Value.static classA simple form of KeyValue that creates a keyvalue with only the key part of the byte[] Mainly used in places where we need to compare two cells.classAn extension of the ByteBufferKeyValue where the tags length is always 0classAn extension of the KeyValue where the tags length is always 0private static classThese cells are used in reseeks/seeks to improve the read performance.private static classThese cells are used in reseeks/seeks to improve the read performance.private static classprivate static classprivate static classprivate static classprivate static classprivate static classprivate static classprivate static classprivate static classprivate static classprivate static class(package private) static class(package private) static classThis can be used when a Cell has to change with addition/removal of one or more tags.(package private) static class(package private) static classclassThis Cell is an implementation ofByteBufferExtendedCellwhere the data resides in off heap/ on heap ByteBufferclassThis class is an extension to KeyValue where rowLen and keyLen are cached.classThis Cell is an implementation ofByteBufferExtendedCellwhere the data resides in off heap/ on heap ByteBufferclassThis class is an extension to ContentSizeCachedKeyValue where there are no tags in Cell.Methods in org.apache.hadoop.hbase that return CellModifier and TypeMethodDescriptionCellBuilder.build()static CellCellUtil.cloneIfNecessary(Cell cell) static CellRawCell.createCell(Cell cell, List<Tag> tags) Returns A new cell which is having the extra tags also added to it.CellScanner.current()Returns the current Cell which may be mutableMethods in org.apache.hadoop.hbase that return types with arguments of type CellModifier and TypeMethodDescriptionHBaseTestingUtility.getFromStoreFile(HStore store, byte[] row, NavigableSet<byte[]> columns) Deprecated.Do a small get/scan against one store.HBaseTestingUtility.getFromStoreFile(HStore store, Get get) Deprecated.Do a small get/scan against one store.CellComparator.getSimpleComparator()Return a dumbed-down, fast comparator for hbase2 base-type, theByteBufferKeyValue.CellComparatorImpl.getSimpleComparator()Methods in org.apache.hadoop.hbase with parameters of type CellModifier and TypeMethodDescriptionstatic voidstatic byte[]CellUtil.cloneFamily(Cell cell) static CellCellUtil.cloneIfNecessary(Cell cell) static byte[]CellUtil.cloneQualifier(Cell cell) static byte[]get individual arrays for testsstatic byte[]CellUtil.cloneValue(Cell cell) intLexographically compares two cells.intCompare cells.final intintintprivate intCellComparatorImpl.compareColumns(Cell left, int leftFamLen, int leftQualLen, Cell right, int rightFamLen, int rightQualLen) final intCellComparatorImpl.compareColumns(Cell left, Cell right) Compares the family and qualifier part of the cellstatic final intCellUtil.compareColumns(Cell left, byte[] right, int rfoffset, int rflength, int rqoffset, int rqlength) Compares the cell's column (family and qualifier) with the given byte[]intCellComparator.compareFamilies(Cell leftCell, Cell rightCell) Lexicographically compares the families of the two cellsprotected intCellComparatorImpl.compareFamilies(Cell left, int leftFamLen, Cell right, int rightFamLen) This method will be overridden when we compare cells inner store to bypass family comparing.final intCellComparatorImpl.compareFamilies(Cell left, Cell right) Compare the families of left and right cellstatic final intCellUtil.compareFamilies(Cell left, byte[] right, int roffset, int rlength) Compares the cell's family with the given byte[]protected intInnerStoreCellComparator.compareFamilies(Cell left, int leftFamilyLength, Cell right, int rightFamilyLength) static intPrivateCellUtil.compareFamily(Cell cell, ByteArrayComparable comparator) Compare cell's column family against given comparatorstatic final intPrivateCellUtil.compareKeyIgnoresMvcc(CellComparator comparator, Cell left, Cell right) Compares only the key portion of a cell.static intPrivateCellUtil.compareQualifier(Cell cell, ByteArrayComparable comparator) Compare cell's qualifier against given comparatorintCellComparator.compareQualifiers(Cell leftCell, Cell rightCell) Lexicographically compares the qualifiers of the two cellsprivate final intCellComparatorImpl.compareQualifiers(Cell left, int leftQualLen, Cell right, int rightQualLen) final intCellComparatorImpl.compareQualifiers(Cell left, Cell right) Compare the qualifiers part of the left and right cells.static final intCellUtil.compareQualifiers(Cell left, byte[] right, int rOffset, int rLength) Compares the cell's qualifier with the given byte[]static intPrivateCellUtil.compareRow(Cell cell, ByteArrayComparable comparator) Compare cell's row against given comparatordefault intCellComparator.compareRows(ByteBuffer row, Cell cell) Lexicographically compare two rowsintCellComparator.compareRows(Cell cell, byte[] bytes, int offset, int length) Compares the row part of the cell with a simple plain byte[] like the stopRow in Scan.intCellComparator.compareRows(Cell leftCell, Cell rightCell) Lexographically compares the rows of two cells.intCellComparatorImpl.compareRows(Cell left, byte[] right, int roffset, int rlength) Compares the row part of the cell with a simple plain byte[] like the stopRow in Scan.(package private) static intCellComparatorImpl.compareRows(Cell left, int leftRowLength, Cell right, int rightRowLength) intCellComparatorImpl.compareRows(Cell left, Cell right) Compares the rows of the left and right cell.intMetaCellComparator.compareRows(ByteBuffer row, Cell cell) intMetaCellComparator.compareRows(Cell left, byte[] right, int roffset, int rlength) intMetaCellComparator.compareRows(Cell left, Cell right) intCellComparator.compareTimestamps(Cell leftCell, Cell rightCell) Compares cell's timestamps in DESCENDING order.intCellComparatorImpl.compareTimestamps(Cell left, Cell right) static intPrivateCellUtil.compareValue(Cell cell, ByteArrayComparable comparator) Compare cell's value against given comparatorintCellComparator.compareWithoutRow(Cell leftCell, Cell rightCell) Lexicographically compares the two cells excluding the row part.final intCellComparatorImpl.compareWithoutRow(Cell left, Cell right) static voidPrivateCellUtil.compressFamily(OutputStream out, Cell cell, Dictionary dict) static voidPrivateCellUtil.compressQualifier(OutputStream out, Cell cell, Dictionary dict) static voidPrivateCellUtil.compressRow(OutputStream out, Cell cell, Dictionary dict) static intCellUtil.copyFamilyTo(Cell cell, byte[] destination, int destinationOffset) Copies the family to the given byte[]static intCellUtil.copyFamilyTo(Cell cell, ByteBuffer destination, int destinationOffset) Copies the family to the given bytebufferstatic intCellUtil.copyQualifierTo(Cell cell, byte[] destination, int destinationOffset) Copies the qualifier to the given byte[]static intCellUtil.copyQualifierTo(Cell cell, ByteBuffer destination, int destinationOffset) Copies the qualifier to the given bytebufferstatic byte[]Copies the row to a new byte[]static intCopies the row to the given byte[]static intCellUtil.copyRowTo(Cell cell, ByteBuffer destination, int destinationOffset) Copies the row to the given bytebufferstatic intCellUtil.copyValueTo(Cell cell, byte[] destination, int destinationOffset) Copies the value to the given byte[]static intCellUtil.copyValueTo(Cell cell, ByteBuffer destination, int destinationOffset) Copies the value to the given bytebufferstatic CellRawCell.createCell(Cell cell, List<Tag> tags) Returns A new cell which is having the extra tags also added to it.static CellScannerCellUtil.createCellScanner(Cell[] cellArray) Returns CellScanner interface overcellArraystatic ExtendedCellPrivateCellUtil.createFirstOnNextRow(Cell cell) static ExtendedCellPrivateCellUtil.createFirstOnRow(Cell cell) Create a Cell that is smaller than all other possible Cells for the given Cell's row.static ExtendedCellPrivateCellUtil.createFirstOnRowCol(Cell cell) static ExtendedCellPrivateCellUtil.createFirstOnRowCol(Cell cell, byte[] qArray, int qoffest, int qlength) Create a Cell that is smaller than all other possible Cells for the given Cell's rk:cf and passed qualifier.static ExtendedCellPrivateCellUtil.createFirstOnRowColTS(Cell cell, long ts) Creates the first cell with the row/family/qualifier of this cell and the given timestamp.static ExtendedCellPrivateCellUtil.createFirstOnRowFamily(Cell cell, byte[] fArray, int foff, int flen) static ExtendedCellPrivateCellUtil.createLastOnRow(Cell cell) Create a Cell that is larger than all other possible Cells for the given Cell's row.static ExtendedCellPrivateCellUtil.createLastOnRowCol(Cell cell) Create a Cell that is larger than all other possible Cells for the given Cell's rk:cf:q.static ExtendedCellPrivateCellUtil.ensureExtendedCell(Cell cell) In fact, in HBase, allCells areExtendedCells.static booleanequalsstatic intPrivateCellUtil.estimatedSerializedSizeOf(Cell cell) Estimate based on keyvalue's serialization format in the RPC layer.static intPrivateCellUtil.estimatedSerializedSizeOfKey(Cell cell) Calculates the serialized key size.static ByteRangePrivateCellUtil.fillFamilyRange(Cell cell, ByteRange range) static ByteRangePrivateCellUtil.fillQualifierRange(Cell cell, ByteRange range) static ByteRangePrivateCellUtil.fillRowRange(Cell cell, ByteRange range) ByteRangestatic ByteRangePrivateCellUtil.fillValueRange(Cell cell, ByteRange range) static StringCellUtil.getCellKeyAsString(Cell cell) Returns The Key portion of the passedcellas a String.static StringCellUtil.getCellKeyAsString(Cell cell, Function<Cell, String> rowConverter) Return the Key portion of the passedcellas a String.static List<RegionInfo>CatalogFamilyFormat.getMergeRegions(Cell[] cells) Returns Deserialized regioninfo values taken from column values that match the regex 'info:merge.*' in array ofcells.static Map<String,RegionInfo> CatalogFamilyFormat.getMergeRegionsWithName(Cell[] cells) Returns Deserialized values of <qualifier,regioninfo> pairs taken from column values that match the regex 'info:merge.*' in array ofcells.static bytePrivateCellUtil.getQualifierByte(Cell cell, int index) static intPrivateCellUtil.getRowAsInt(Cell cell) Converts the rowkey bytes of the given cell into an int valuestatic bytePrivateCellUtil.getRowByte(Cell cell, int index) miscstatic longPrivateCellUtil.getSequenceId(Cell c) static bytePrivateCellUtil.getTypeByte(Cell c) static BigDecimalPrivateCellUtil.getValueAsBigDecimal(Cell cell) Converts the value bytes of the given cell into a BigDecimalstatic doublePrivateCellUtil.getValueAsDouble(Cell cell) Converts the value bytes of the given cell into a double valuestatic intPrivateCellUtil.getValueAsInt(Cell cell) Converts the value bytes of the given cell into a int valuestatic longPrivateCellUtil.getValueAsLong(Cell cell) Converts the value bytes of the given cell into a long valuestatic ByteBufferPrivateCellUtil.getValueBufferShallowCopy(Cell cell) static booleanCatalogFamilyFormat.hasMergeRegions(Cell[] cells) Returns True if any merge regions present incells; i.e.static booleanReturn true if a delete type, aKeyValue.Type.Deleteor a {KeyValue.Type#DeleteFamily} or aKeyValue.Type.DeleteColumnKeyValue type.static booleanCatalogFamilyFormat.isMergeQualifierPrefix(Cell cell) Returns True if the column incellmatches the regex 'info:merge.*'.static booleanReturns True if this cell is a Put.private booleanHBaseTestingUtility.isTargetTable(byte[] inRow, Cell c) Deprecated.static intReturns number of bytes this cell's key part would have been used if serialized as inKeyValue.static booleanCellUtil.matchingColumn(Cell left, byte[] fam, byte[] qual) private static booleanCellUtil.matchingColumn(Cell left, byte lFamLen, int lQualLength, Cell right, byte rFamLen, int rQualLength) static booleanCellUtil.matchingColumn(Cell left, Cell right) static booleanPrivateCellUtil.matchingColumn(Cell left, byte[] fam, int foffset, int flength, byte[] qual, int qoffset, int qlength) static booleanCellUtil.matchingColumnFamilyAndQualifierPrefix(Cell left, byte[] fam, byte[] qual) Returns True if matching column family and the qualifier starts withqualstatic booleanCellUtil.matchingFamily(Cell left, byte[] buf) static booleanCellUtil.matchingFamily(Cell left, byte lfamlength, Cell right, byte rfamlength) static booleanCellUtil.matchingFamily(Cell left, Cell right) static booleanPrivateCellUtil.matchingFamily(Cell left, byte[] buf, int offset, int length) static booleanCellUtil.matchingQualifier(Cell left, byte[] buf) Finds if the qualifier part of the cell and the KV serialized byte[] are equal.private static booleanCellUtil.matchingQualifier(Cell left, int lqlength, Cell right, int rqlength) static booleanCellUtil.matchingQualifier(Cell left, Cell right) static booleanPrivateCellUtil.matchingQualifier(Cell left, byte[] buf, int offset, int length) Finds if the qualifier part of the cell and the KV serialized byte[] are equalstatic booleanCellUtil.matchingRow(Cell left, byte[] buf, int offset, int length) static booleanCellUtil.matchingRowColumn(Cell left, Cell right) Compares the row and column of two keyvalues for equalitystatic booleanCellUtil.matchingRowColumnBytes(Cell left, Cell right) Compares the row and column of two keyvalues for equalitystatic booleanCellUtil.matchingRows(Cell left, byte[] buf) static booleanCellUtil.matchingRows(Cell left, short lrowlength, Cell right, short rrowlength) Compares the row of two keyvalues for equalitystatic booleanCellUtil.matchingRows(Cell left, Cell right) Compares the row of two keyvalues for equalitystatic booleanPrivateCellUtil.matchingRows(Cell left, byte[] buf, int offset, int length) static booleanCellUtil.matchingTags(Cell left, Cell right) Deprecated.Since 3.0.0, will be removed in 4.0.0.static booleanCellUtil.matchingTimestamp(Cell a, Cell b) static booleanCellUtil.matchingValue(Cell left, byte[] buf) static booleanCellUtil.matchingValue(Cell left, Cell right) static booleanCellUtil.matchingValue(Cell left, Cell right, int lvlength, int rvlength) static booleanPrivateCellUtil.matchingValue(Cell left, Cell right, int lvlength, int rvlength) static booleanPrivateCellUtil.qualifierStartsWith(Cell left, byte[] startsWith) Finds if the start of the qualifier part of the Cell matchesbufstatic voidPrivateCellUtil.setSequenceId(Cell cell, long seqId) Sets the given seqId to the cell.static voidCellUtil.setTimestamp(Cell cell, byte[] ts, int tsOffset) Sets the given timestamp to the cell.static voidCellUtil.setTimestamp(Cell cell, long ts) Sets the given timestamp to the cell.static voidPrivateCellUtil.setTimestamp(Cell cell, byte[] ts) Sets the given timestamp to the cell.static voidPrivateCellUtil.setTimestamp(Cell cell, long ts) Sets the given timestamp to the cell.static StringReturns a string representation of the cellstatic booleanPrivateCellUtil.updateLatestStamp(Cell cell, byte[] ts) Sets the given timestamp to the cell iff current timestamp isHConstants.LATEST_TIMESTAMP.static voidPrivateCellUtil.writeFamily(OutputStream out, Cell cell, byte flength) Writes the family from the given cell to the output streamstatic voidPrivateCellUtil.writeQualifier(OutputStream out, Cell cell, int qlength) Writes the qualifier from the given cell to the output streamstatic voidPrivateCellUtil.writeQualifierSkippingBytes(DataOutputStream out, Cell cell, int qlength, int commonPrefix) Writes the qualifier from the given cell to the output stream excluding the common prefixstatic voidPrivateCellUtil.writeRow(OutputStream out, Cell cell, short rlength) Writes the row from the given cell to the output streamstatic voidPrivateCellUtil.writeRowKeyExcludingCommon(Cell cell, short rLen, int commonPrefix, DataOutputStream out) Write rowkey excluding the common part.static voidPrivateCellUtil.writeRowSkippingBytes(DataOutputStream out, Cell cell, short rlength, int commonPrefix) Writes the row from the given cell to the output stream excluding the common prefixMethod parameters in org.apache.hadoop.hbase with type arguments of type CellModifier and TypeMethodDescriptionstatic voidHBaseTestingUtility.assertKVListsEqual(String additionalMsg, List<? extends Cell> expected, List<? extends Cell> actual) Deprecated.static voidCellUtil.cloneIfNecessary(ArrayList<Cell> cells) static booleanKeyValueTestUtil.containsIgnoreMvccVersion(Collection<? extends Cell> kvCollection1, Collection<? extends Cell> kvCollection2) Checks whether KeyValues from kvCollection2 are contained in kvCollection1.static CellScannerCellUtil.createCellScanner(Iterable<Cell> cellIterable) Returns CellScanner interface overcellIterablestatic CellScannerCellUtil.createCellScanner(Iterator<Cell> cells) Returns CellScanner interface overcellIterableor null ifcellsis nullstatic CellScannerCellUtil.createCellScanner(NavigableMap<byte[], List<Cell>> map) Flatten the map of cells out under the CellScannerstatic StringCellUtil.getCellKeyAsString(Cell cell, Function<Cell, String> rowConverter) Return the Key portion of the passedcellas a String. -
Uses of Cell in org.apache.hadoop.hbase.backup.impl
Methods in org.apache.hadoop.hbase.backup.impl with parameters of type CellModifier and TypeMethodDescriptionprivate StringBackupSystemTable.cellKeyToBackupSetName(Cell current) Converts cell key to backup set name.private BackupInfoBackupSystemTable.cellToBackupInfo(Cell current) Converts cell to backup info instance.private String[]BackupSystemTable.cellValueToBackupSet(Cell current) Converts cell to backup set list. -
Uses of Cell in org.apache.hadoop.hbase.backup.mapreduce
Methods in org.apache.hadoop.hbase.backup.mapreduce with parameters of type CellModifier and TypeMethodDescriptionvoidMapReduceHFileSplitterJob.HFileCellMapper.map(org.apache.hadoop.io.NullWritable key, Cell value, org.apache.hadoop.mapreduce.Mapper<org.apache.hadoop.io.NullWritable, Cell, org.apache.hadoop.io.WritableComparable<?>, Cell>.org.apache.hadoop.mapreduce.Mapper.Context context) -
Uses of Cell in org.apache.hadoop.hbase.client
Fields in org.apache.hadoop.hbase.client with type parameters of type CellMethods in org.apache.hadoop.hbase.client that return CellModifier and TypeMethodDescriptionResult.getColumnLatestCell(byte[] family, byte[] qualifier) The Cell for the most recent timestamp for a given column.Result.getColumnLatestCell(byte[] family, int foffset, int flength, byte[] qualifier, int qoffset, int qlength) The Cell for the most recent timestamp for a given column.Cell[]Result.rawCells()Return the array of Cells backing this Result instance.Methods in org.apache.hadoop.hbase.client that return types with arguments of type CellModifier and TypeMethodDescriptionMutation.get(byte[] family, byte[] qualifier) Returns a list of all KeyValue objects with matching column family and qualifier.Result.getColumnCells(byte[] family, byte[] qualifier) Return the Cells for the specific column.NavigableMap<byte[],List<Cell>> Mutation.getFamilyCellMap()Method for retrieving the put's familyMapResult.listCells()Create a sorted list of the Cell's in this result.Methods in org.apache.hadoop.hbase.client with parameters of type CellModifier and TypeMethodDescriptionDeprecated.Since 3.0.0, and the method signature will be changed in 4.0.0, where we will throw IOException out when the row of the given cell does not match.Add an existing delete marker to this Delete object.Add the specified KeyValue to this operation.(package private) MutationAdd the specified KeyValue to this Put operation.private intResult.binarySearch(Cell[] kvs, byte[] family, byte[] qualifier) private intResult.binarySearch(Cell[] kvs, byte[] family, int foffset, int flength, byte[] qualifier, int qoffset, int qlength) Searches for the latest value for the specified column.static ResultInstantiate a Result with the specified array of KeyValues.static Resultstatic ResultMethod parameters in org.apache.hadoop.hbase.client with type arguments of type CellModifier and TypeMethodDescriptionstatic ResultInstantiate a Result with the specified List of KeyValues.static Resultstatic Resultstatic ResultResult.create(List<? extends Cell> cells, Boolean exists, boolean stale, boolean mayHaveMoreCellsInRow) Constructor parameters in org.apache.hadoop.hbase.client with type arguments of type CellModifierConstructorDescriptionAppend(byte[] row, long ts, NavigableMap<byte[], List<Cell>> familyMap) Construct the Append with user defined data.Delete(byte[] row, long ts, NavigableMap<byte[], List<Cell>> familyMap) Construct the Delete with user defined data.Increment(byte[] row, long ts, NavigableMap<byte[], List<Cell>> familyMap) Construct the Increment with user defined data.protectedMutation(byte[] row, long ts, NavigableMap<byte[], List<Cell>> familyMap) Construct the mutation with user defined data.Put(byte[] row, long ts, NavigableMap<byte[], List<Cell>> familyMap) Construct the Put with user defined data. -
Uses of Cell in org.apache.hadoop.hbase.client.coprocessor
Methods in org.apache.hadoop.hbase.client.coprocessor with parameters of type CellModifier and TypeMethodDescription -
Uses of Cell in org.apache.hadoop.hbase.coprocessor
Methods in org.apache.hadoop.hbase.coprocessor that return CellModifier and TypeMethodDescriptiondefault CellRegionObserver.postMutationBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, RegionObserver.MutationType opType, Mutation mutation, Cell oldCell, Cell newCell) Deprecated.since 2.2.0 and will be removedin 4.0.0.Methods in org.apache.hadoop.hbase.coprocessor that return types with arguments of type CellModifier and TypeMethodDescriptionRegionObserver.postAppendBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) Called after a list of new cells has been created during an append operation, but before they are committed to the WAL or memstore.RegionObserver.postAppendBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) Called after a list of new cells has been created during an append operation, but before they are committed to the WAL or memstore.RegionObserver.postIncrementBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) Called after a list of new cells has been created during an increment operation, but before they are committed to the WAL or memstore.RegionObserver.postIncrementBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) Called after a list of new cells has been created during an increment operation, but before they are committed to the WAL or memstore.Methods in org.apache.hadoop.hbase.coprocessor with parameters of type CellModifier and TypeMethodDescriptionabstract TReturns value of type Tdefault CellRegionObserver.postMutationBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, RegionObserver.MutationType opType, Mutation mutation, Cell oldCell, Cell newCell) Deprecated.since 2.2.0 and will be removedin 4.0.0.default booleanRegionObserver.postScannerFilterRow(ObserverContext<? extends RegionCoprocessorEnvironment> c, InternalScanner s, Cell curRowCell, boolean hasMore) This will be called by the scan flow when the current scanned row is being filtered out by the filter.default voidRegionObserver.prePrepareTimeStampForDeleteVersion(ObserverContext<? extends RegionCoprocessorEnvironment> c, Mutation mutation, Cell cell, byte[] byteNow, Get get) Deprecated.Since hbase-2.0.0.Method parameters in org.apache.hadoop.hbase.coprocessor with type arguments of type CellModifier and TypeMethodDescriptionRegionObserver.postAppendBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) Called after a list of new cells has been created during an append operation, but before they are committed to the WAL or memstore.RegionObserver.postAppendBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) Called after a list of new cells has been created during an append operation, but before they are committed to the WAL or memstore.default voidRegionObserver.postGetOp(ObserverContext<? extends RegionCoprocessorEnvironment> c, Get get, List<Cell> result) Called after the client performs a GetRegionObserver.postIncrementBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) Called after a list of new cells has been created during an increment operation, but before they are committed to the WAL or memstore.RegionObserver.postIncrementBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) Called after a list of new cells has been created during an increment operation, but before they are committed to the WAL or memstore.voidMetaTableMetrics.ExampleRegionObserverMeta.preGetOp(ObserverContext<? extends RegionCoprocessorEnvironment> e, Get get, List<Cell> results) default voidRegionObserver.preGetOp(ObserverContext<? extends RegionCoprocessorEnvironment> c, Get get, List<Cell> result) Called before the client performs a Get -
Uses of Cell in org.apache.hadoop.hbase.coprocessor.example
Methods in org.apache.hadoop.hbase.coprocessor.example that return CellModifier and TypeMethodDescriptionprivate CellWriteHeavyIncrementObserver.createCell(byte[] row, byte[] family, byte[] qualifier, long ts, long value) Method parameters in org.apache.hadoop.hbase.coprocessor.example with type arguments of type CellModifier and TypeMethodDescriptionprivate DeleteBulkDeleteEndpoint.createDeleteMutation(List<Cell> deleteRow, org.apache.hadoop.hbase.shaded.coprocessor.example.generated.BulkDeleteProtos.BulkDeleteRequest.DeleteType deleteType, Long timestamp) voidExampleRegionObserverWithMetrics.ExampleRegionObserver.postGetOp(ObserverContext<? extends RegionCoprocessorEnvironment> e, Get get, List<Cell> results) voidExampleRegionObserverWithMetrics.ExampleRegionObserver.preGetOp(ObserverContext<? extends RegionCoprocessorEnvironment> e, Get get, List<Cell> results) voidWriteHeavyIncrementObserver.preGetOp(ObserverContext<? extends RegionCoprocessorEnvironment> c, Get get, List<Cell> result) -
Uses of Cell in org.apache.hadoop.hbase.coprocessor.example.row.stats
Fields in org.apache.hadoop.hbase.coprocessor.example.row.stats declared as CellModifier and TypeFieldDescriptionprivate CellRowStatisticsImpl.largestCellprivate CellRowStatisticsImpl.largestCellRefprivate CellRowStatisticsImpl.largestRowRefprivate CellRowStatisticsCompactionObserver.RowStatisticsScanner.lastCellMethods in org.apache.hadoop.hbase.coprocessor.example.row.stats that return CellMethods in org.apache.hadoop.hbase.coprocessor.example.row.stats with parameters of type CellModifier and TypeMethodDescriptionvoidRowStatisticsImpl.consumeCell(Cell cell) voidRowStatisticsImpl.handleRowChanged(Cell lastCell) private booleanRowStatisticsCompactionObserver.RowStatisticsScanner.rowChanged(Cell cell) -
Uses of Cell in org.apache.hadoop.hbase.coprocessor.example.row.stats.utils
Methods in org.apache.hadoop.hbase.coprocessor.example.row.stats.utils that return CellModifier and TypeMethodDescriptionstatic CellRowStatisticsUtil.cloneWithoutValue(RawCellBuilder cellBuilder, Cell cell) Methods in org.apache.hadoop.hbase.coprocessor.example.row.stats.utils with parameters of type CellModifier and TypeMethodDescriptionstatic CellRowStatisticsUtil.cloneWithoutValue(RawCellBuilder cellBuilder, Cell cell) -
Uses of Cell in org.apache.hadoop.hbase.filter
Classes in org.apache.hadoop.hbase.filter that implement CellModifier and TypeClassDescription(package private) static class(package private) static classFields in org.apache.hadoop.hbase.filter declared as CellModifier and TypeFieldDescriptionprotected CellPrefixFilter.forwardNextCellHintprotected CellPrefixFilter.reversedNextCellHintFields in org.apache.hadoop.hbase.filter with type parameters of type CellMethods in org.apache.hadoop.hbase.filter that return CellModifier and TypeMethodDescriptionprivate CellKeyOnlyFilter.createKeyOnlyCell(ExtendedCell c) ColumnPaginationFilter.getNextCellHint(Cell cell) ColumnPrefixFilter.getNextCellHint(Cell cell) ColumnRangeFilter.getNextCellHint(Cell cell) abstract CellFilter.getNextCellHint(Cell currentCell) If the filter returns the match code SEEK_NEXT_USING_HINT, then it should also tell which is the next key it must seek to.FilterBase.getNextCellHint(Cell currentCell) Filters that are not sure which key must be next seeked to, can inherit this implementation that, by default, returns a null Cell.FilterList.getNextCellHint(Cell currentCell) FilterListWithAND.getNextCellHint(Cell currentCell) FilterListWithOR.getNextCellHint(Cell currentCell) FilterWrapper.getNextCellHint(Cell currentCell) FuzzyRowFilter.getNextCellHint(Cell currentCell) MultipleColumnPrefixFilter.getNextCellHint(Cell cell) MultiRowRangeFilter.getNextCellHint(Cell currentKV) PrefixFilter.getNextCellHint(Cell cell) TimestampsFilter.getNextCellHint(Cell currentCell) Pick the next cell that the scanner should seek to.abstract CellFilter.transformCell(Cell v) Give the filter a chance to transform the passed Cell.FilterBase.transformCell(Cell v) By default no transformation takes place Give the filter a chance to transform the passed Cell.FilterList.transformCell(Cell c) FilterListBase.transformCell(Cell c) For FilterList, we can consider a filter list as a node in a tree.FilterWrapper.transformCell(Cell v) KeyOnlyFilter.transformCell(Cell cell) SkipFilter.transformCell(Cell v) WhileMatchFilter.transformCell(Cell v) Methods in org.apache.hadoop.hbase.filter with parameters of type CellModifier and TypeMethodDescriptionprivate Filter.ReturnCodeFilterListWithOR.calculateReturnCodeByPrevCellAndRC(Filter subFilter, Cell currentCell, Cell prevCell, Filter.ReturnCode prevCode) For MUST_PASS_ONE, we cannot make sure that when filter-A in filter list return NEXT_COL then the next cell passing to filterList will be the first cell in next column, because if filter-B in filter list return SKIP, then the filter list will return SKIP.protected intFilterListBase.compareCell(Cell a, Cell b) protected booleanCompareFilter.compareFamily(CompareOperator op, ByteArrayComparable comparator, Cell cell) protected booleanCompareFilter.compareQualifier(CompareOperator op, ByteArrayComparable comparator, Cell cell) private static intColumnPrefixFilter.compareQualifierPart(Cell cell, int length, byte[] prefix) protected booleanCompareFilter.compareRow(CompareOperator op, ByteArrayComparable comparator, Cell cell) private booleanColumnValueFilter.compareValue(CompareOperator op, ByteArrayComparable comparator, Cell cell) This method is used to determine a cell should be included or filtered out.protected booleanCompareFilter.compareValue(CompareOperator op, ByteArrayComparable comparator, Cell cell) ColumnCountGetFilter.filterCell(Cell c) ColumnPaginationFilter.filterCell(Cell c) ColumnPrefixFilter.filterCell(Cell cell) ColumnRangeFilter.filterCell(Cell c) ColumnValueFilter.filterCell(Cell c) DependentColumnFilter.filterCell(Cell c) FamilyFilter.filterCell(Cell c) Filter.filterCell(Cell c) A way to filter based on the column family, column qualifier and/or the column value.FilterAllFilter.filterCell(Cell c) FilterList.filterCell(Cell c) FilterListWithAND.filterCell(Cell c) FilterListWithOR.filterCell(Cell c) FilterWrapper.filterCell(Cell c) FirstKeyOnlyFilter.filterCell(Cell c) FuzzyRowFilter.filterCell(Cell c) InclusiveStopFilter.filterCell(Cell c) KeyOnlyFilter.filterCell(Cell ignored) MultipleColumnPrefixFilter.filterCell(Cell c) MultiRowRangeFilter.filterCell(Cell ignored) PageFilter.filterCell(Cell ignored) PrefixFilter.filterCell(Cell c) QualifierFilter.filterCell(Cell c) RandomRowFilter.filterCell(Cell c) RowFilter.filterCell(Cell v) SingleColumnValueFilter.filterCell(Cell c) SkipFilter.filterCell(Cell c) TimestampsFilter.filterCell(Cell c) ValueFilter.filterCell(Cell c) WhileMatchFilter.filterCell(Cell c) ColumnPrefixFilter.filterColumn(Cell cell) MultipleColumnPrefixFilter.filterColumn(Cell cell) private booleanSingleColumnValueFilter.filterColumnValue(Cell cell) booleanColumnCountGetFilter.filterRowKey(Cell cell) booleanColumnPaginationFilter.filterRowKey(Cell cell) booleanColumnPrefixFilter.filterRowKey(Cell cell) booleanColumnRangeFilter.filterRowKey(Cell cell) booleanColumnValueFilter.filterRowKey(Cell cell) booleanCompareFilter.filterRowKey(Cell cell) abstract booleanFilter.filterRowKey(Cell firstRowCell) Filters a row based on the row key.booleanFilterAllFilter.filterRowKey(Cell cell) booleanFilterBase.filterRowKey(Cell cell) booleanFilterList.filterRowKey(Cell firstRowCell) booleanFilterListWithAND.filterRowKey(Cell firstRowCell) booleanFilterListWithOR.filterRowKey(Cell firstRowCell) booleanFilterWrapper.filterRowKey(Cell cell) booleanFirstKeyOnlyFilter.filterRowKey(Cell cell) booleanInclusiveStopFilter.filterRowKey(Cell firstRowCell) booleanKeyOnlyFilter.filterRowKey(Cell cell) booleanMultipleColumnPrefixFilter.filterRowKey(Cell cell) booleanMultiRowRangeFilter.filterRowKey(Cell firstRowCell) booleanPageFilter.filterRowKey(Cell cell) booleanPrefixFilter.filterRowKey(Cell firstRowCell) booleanRandomRowFilter.filterRowKey(Cell firstRowCell) booleanRowFilter.filterRowKey(Cell firstRowCell) booleanSingleColumnValueFilter.filterRowKey(Cell cell) booleanSkipFilter.filterRowKey(Cell cell) booleanTimestampsFilter.filterRowKey(Cell cell) booleanWhileMatchFilter.filterRowKey(Cell cell) ColumnPaginationFilter.getNextCellHint(Cell cell) ColumnPrefixFilter.getNextCellHint(Cell cell) ColumnRangeFilter.getNextCellHint(Cell cell) abstract CellFilter.getNextCellHint(Cell currentCell) If the filter returns the match code SEEK_NEXT_USING_HINT, then it should also tell which is the next key it must seek to.FilterBase.getNextCellHint(Cell currentCell) Filters that are not sure which key must be next seeked to, can inherit this implementation that, by default, returns a null Cell.FilterList.getNextCellHint(Cell currentCell) FilterListWithAND.getNextCellHint(Cell currentCell) FilterListWithOR.getNextCellHint(Cell currentCell) FilterWrapper.getNextCellHint(Cell currentCell) FuzzyRowFilter.getNextCellHint(Cell currentCell) MultipleColumnPrefixFilter.getNextCellHint(Cell cell) MultiRowRangeFilter.getNextCellHint(Cell currentKV) PrefixFilter.getNextCellHint(Cell cell) TimestampsFilter.getNextCellHint(Cell currentCell) Pick the next cell that the scanner should seek to.(package private) booleanabstract CellFilter.transformCell(Cell v) Give the filter a chance to transform the passed Cell.FilterBase.transformCell(Cell v) By default no transformation takes place Give the filter a chance to transform the passed Cell.FilterList.transformCell(Cell c) FilterListBase.transformCell(Cell c) For FilterList, we can consider a filter list as a node in a tree.FilterWrapper.transformCell(Cell v) KeyOnlyFilter.transformCell(Cell cell) SkipFilter.transformCell(Cell v) WhileMatchFilter.transformCell(Cell v) private voidFilterListWithOR.updatePrevCellList(int index, Cell currentCell, Filter.ReturnCode currentRC) (package private) booleanFuzzyRowFilter.RowTracker.updateTracker(Cell currentCell) (package private) voidFuzzyRowFilter.RowTracker.updateWith(Cell currentCell, Pair<byte[], byte[]> fuzzyData) Method parameters in org.apache.hadoop.hbase.filter with type arguments of type CellModifier and TypeMethodDescriptionvoidDependentColumnFilter.filterRowCells(List<Cell> kvs) abstract voidFilter.filterRowCells(List<Cell> kvs) Chance to alter the list of Cells to be submitted.voidFilterBase.filterRowCells(List<Cell> ignored) Filters that never filter by modifying the returned List of Cells can inherit this implementation that does nothing.voidFilterList.filterRowCells(List<Cell> cells) Filters that never filter by modifying the returned List of Cells can inherit this implementation that does nothing.voidFilterListBase.filterRowCells(List<Cell> cells) Filters that never filter by modifying the returned List of Cells can inherit this implementation that does nothing.voidFilterWrapper.filterRowCells(List<Cell> kvs) voidSingleColumnValueExcludeFilter.filterRowCells(List<Cell> kvs) FilterWrapper.filterRowCellsWithRet(List<Cell> kvs) -
Uses of Cell in org.apache.hadoop.hbase.io.encoding
Classes in org.apache.hadoop.hbase.io.encoding that implement CellModifier and TypeClassDescriptionprotected static classprotected static classCopies only the key part of the keybuffer by doing a deep copy and passes the seeker state members for taking a clone.Methods in org.apache.hadoop.hbase.io.encoding with parameters of type CellModifier and TypeMethodDescriptionprivate intRowIndexSeekerV1.binarySearch(Cell seekCell, boolean seekBefore) static intBufferedDataBlockEncoder.compareCommonFamilyPrefix(Cell left, Cell right, int familyCommonPrefix) static intBufferedDataBlockEncoder.compareCommonQualifierPrefix(Cell left, Cell right, int qualCommonPrefix) static intBufferedDataBlockEncoder.compareCommonRowPrefix(Cell left, Cell right, int rowCommonPrefix) common prefixesprivate static intBufferedDataBlockEncoder.BufferedEncodedSeeker.findCommonPrefixInFamilyPart(Cell left, KeyValue.KeyOnlyKeyValue right, int familyCommonPrefix) private static intBufferedDataBlockEncoder.BufferedEncodedSeeker.findCommonPrefixInQualifierPart(Cell left, KeyValue.KeyOnlyKeyValue right, int qualifierCommonPrefix) private static intBufferedDataBlockEncoder.BufferedEncodedSeeker.findCommonPrefixInRowPart(Cell left, KeyValue.KeyOnlyKeyValue right, int rowCommonPrefix) -
Uses of Cell in org.apache.hadoop.hbase.io.hfile
Fields in org.apache.hadoop.hbase.io.hfile declared as CellModifier and TypeFieldDescriptionprivate CellHFileInfo.biggestCellBiggest Cell in the file, key only.private CellHFilePrettyPrinter.KeyValueStatsCollector.prevCellMethods in org.apache.hadoop.hbase.io.hfile that return CellModifier and TypeMethodDescriptionHFileWriterImpl.getLastCell()CompoundBloomFilterWriter.getPrevCell()abstract CellHFileBlockIndex.BlockIndexReader.midkey(HFile.CachingBlockReader cachingBlockReader) An approximation to theHFile's mid-key.HFileBlockIndex.ByteArrayKeyBlockIndexReader.midkey(HFile.CachingBlockReader cachingBlockReader) Methods in org.apache.hadoop.hbase.io.hfile with parameters of type CellModifier and TypeMethodDescription(package private) static intHFileBlockIndex.BlockIndexReader.binarySearchNonRootIndex(Cell key, ByteBuff nonRootIndex, CellComparator comparator) Performs a binary search over a non-root level index block.protected intWithin a loaded block, seek looking for the last key that is smaller than (or equal to?) the key we are interested in.protected booleanChecks that the given Cell's key does not violate the key order.voidbooleanprivate booleanCompoundBloomFilter.containsInternal(Cell keyCell, ByteBuff bloom, BloomType type) private StringHFileWriterImpl.getLexicalErrorMessage(Cell cell) static intHFileBlockIndex.BlockIndexReader.locateNonRootIndexEntry(ByteBuff nonRootBlock, Cell key, CellComparator comparator) Search for one key using the secondary index in a non-root block.abstract intHFileBlockIndex.BlockIndexReader.rootBlockContainingKey(Cell key) Finds the root-level index block containing the given key.intHFileBlockIndex.ByteArrayKeyBlockIndexReader.rootBlockContainingKey(Cell key) intHFileBlockIndex.CellBasedKeyBlockIndexReader.rootBlockContainingKey(Cell key) intHFileBlockIndex.CellBasedKeyBlockIndexReaderV2.rootBlockContainingKey(Cell key) intHFileIndexBlockEncoder.EncodedSeeker.rootBlockContainingKey(Cell key) intNoOpIndexBlockEncoder.NoOpEncodedSeeker.rootBlockContainingKey(Cell key) -
Uses of Cell in org.apache.hadoop.hbase.mapreduce
Fields in org.apache.hadoop.hbase.mapreduce declared as CellModifier and TypeFieldDescriptionprivate CellHFileInputFormat.HFileRecordReader.valueA private cache of the key value so it doesn't need to be loaded twice from the scanner.Methods in org.apache.hadoop.hbase.mapreduce with type parameters of type CellModifier and TypeMethodDescription(package private) static <V extends Cell>
org.apache.hadoop.mapreduce.RecordWriter<ImmutableBytesWritable,V> HFileOutputFormat2.createRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context, org.apache.hadoop.mapreduce.OutputCommitter committer) Methods in org.apache.hadoop.hbase.mapreduce that return CellModifier and TypeMethodDescriptionprivate CellSyncTable.SyncMapper.checkAndResetTimestamp(Cell sourceCell) CellCreator.create(byte[] row, int roffset, int rlength, byte[] family, int foffset, int flength, byte[] qualifier, int qoffset, int qlength, long timestamp, byte[] value, int voffset, int vlength) CellCreator.create(byte[] row, int roffset, int rlength, byte[] family, int foffset, int flength, byte[] qualifier, int qoffset, int qlength, long timestamp, byte[] value, int voffset, int vlength, List<Tag> tags) HFileInputFormat.HFileRecordReader.getCurrentValue()SyncTable.SyncMapper.CellScanner.nextCellInRow()Returns the next Cell in the current row or null iff none remain.Methods in org.apache.hadoop.hbase.mapreduce that return types with arguments of type CellModifier and TypeMethodDescriptionorg.apache.hadoop.mapreduce.RecordReader<org.apache.hadoop.io.NullWritable,Cell> HFileInputFormat.createRecordReader(org.apache.hadoop.mapreduce.InputSplit split, org.apache.hadoop.mapreduce.TaskAttemptContext context) org.apache.hadoop.mapreduce.RecordWriter<ImmutableBytesWritable,Cell> HFileOutputFormat2.getRecordWriter(org.apache.hadoop.mapreduce.TaskAttemptContext context) Methods in org.apache.hadoop.hbase.mapreduce with parameters of type CellModifier and TypeMethodDescriptionprotected voidImport.Importer.addPutToKv(Put put, Cell kv) private CellSyncTable.SyncMapper.checkAndResetTimestamp(Cell sourceCell) private intSyncTable.SyncMapper.compareCellKeysWithinRow(Cell c1, Cell c2) Compare families, qualifiers, and timestamps of the given Cells.CellSerialization.CellDeserializer.deserialize(Cell ignore) protected booleanWALPlayer.WALMapper.filter(org.apache.hadoop.mapreduce.Mapper<WALKey, WALEdit, ImmutableBytesWritable, Mutation>.org.apache.hadoop.mapreduce.Mapper.Context context, Cell cell) intImport.CellWritableComparablePartitioner.getPartition(Import.CellWritableComparable key, Cell value, int numPartitions) voidMethod parameters in org.apache.hadoop.hbase.mapreduce with type arguments of type CellModifier and TypeMethodDescriptionCellSerialization.getDeserializer(Class<Cell> t) CellSerialization.getSerializer(Class<Cell> c) protected voidCellSortReducer.reduce(ImmutableBytesWritable row, Iterable<Cell> kvs, org.apache.hadoop.mapreduce.Reducer<ImmutableBytesWritable, Cell, ImmutableBytesWritable, Cell>.org.apache.hadoop.mapreduce.Reducer.Context context) protected voidImport.CellReducer.reduce(Import.CellWritableComparable row, Iterable<Cell> kvs, org.apache.hadoop.mapreduce.Reducer<Import.CellWritableComparable, Cell, ImmutableBytesWritable, Cell>.org.apache.hadoop.mapreduce.Reducer.Context context) protected voidPreSortedCellsReducer.reduce(KeyOnlyCellComparable keyComparable, Iterable<Cell> values, org.apache.hadoop.mapreduce.Reducer<KeyOnlyCellComparable, Cell, ImmutableBytesWritable, Cell>.org.apache.hadoop.mapreduce.Reducer.Context context) Constructors in org.apache.hadoop.hbase.mapreduce with parameters of type Cell -
Uses of Cell in org.apache.hadoop.hbase.master.region
Fields in org.apache.hadoop.hbase.master.region with type parameters of type Cell -
Uses of Cell in org.apache.hadoop.hbase.mob
Methods in org.apache.hadoop.hbase.mob with parameters of type CellModifier and TypeMethodDescriptionstatic StringMobUtils.getMobFileName(Cell cell) Gets the mob file name from the mob ref cell.static intMobUtils.getMobValueLength(Cell cell) Gets the mob value length from the mob ref cell.static booleanMobUtils.hasValidMobRefCellValue(Cell cell) Indicates whether the current mob ref cell has a valid value. -
Uses of Cell in org.apache.hadoop.hbase.procedure2.store.region
Methods in org.apache.hadoop.hbase.procedure2.store.region with parameters of type Cell -
Uses of Cell in org.apache.hadoop.hbase.quotas
Methods in org.apache.hadoop.hbase.quotas with parameters of type CellModifier and TypeMethodDescriptionprotected static StringQuotaTableUtil.extractSnapshotNameFromSizeCell(Cell c) (package private) static longQuotaTableUtil.parseSnapshotSize(Cell c) Parses the snapshot size from the given Cell's value.Method parameters in org.apache.hadoop.hbase.quotas with type arguments of type CellModifier and TypeMethodDescriptionvoidDefaultOperationQuota.addScanResultCells(List<Cell> cells) voidNoopOperationQuota.addScanResultCells(List<Cell> cells) voidOperationQuota.addScanResultCells(List<Cell> cells) Add a scan result in the form of cells.static longQuotaUtil.calculateCellsSize(List<Cell> cells) -
Uses of Cell in org.apache.hadoop.hbase.regionserver
Classes in org.apache.hadoop.hbase.regionserver with type parameters of type CellModifier and TypeClassDescriptionclassCellArrayMap<T extends Cell>CellArrayMap is a simple array of Cells and cannot be allocated off-heap.classCellChunkMap<T extends Cell>CellChunkMap is an array of serialized representations of Cell (pointing to Chunks with full Cell data) and can be allocated both off-heap and on-heap.classCellFlatMap<T extends Cell>CellFlatMap stores a constant number of elements and is immutable after creation stage.classClasses in org.apache.hadoop.hbase.regionserver that implement CellModifier and TypeClassDescriptionclassByteBuffer based cell which has the chunkid at the 0th offsetclassByteBuffer based cell which has the chunkid at the 0th offset and with no tagsFields in org.apache.hadoop.hbase.regionserver declared as CellModifier and TypeFieldDescriptionprivate final T[]CellArrayMap.blockprivate CellStripeMultiFileWriter.BoundaryMultiWriter.lastCellprivate CellStripeMultiFileWriter.SizeMultiWriter.lastCellprivate CellScannerContext.lastPeekedCellFields in org.apache.hadoop.hbase.regionserver with type parameters of type CellModifier and TypeFieldDescriptionRegionScannerImpl.MOCKED_LISTA mocked list implementation - discards all updates.Methods in org.apache.hadoop.hbase.regionserver that return CellMethods in org.apache.hadoop.hbase.regionserver that return types with arguments of type CellModifier and TypeMethodDescriptionDo a get based on the get parameter.HRegion.getInternal(Get get, boolean withCoprocessor, long nonceGroup, long nonce) Methods in org.apache.hadoop.hbase.regionserver with parameters of type CellModifier and TypeMethodDescriptionprotected booleanCompactingMemStore.checkAndAddToActiveSize(MutableSegment currActive, Cell cellToAdd, MemStoreSizing memstoreSizing) Check whether anything need to be done based on the current active set size.private booleanStoreFileReader.checkGeneralBloomFilter(byte[] key, Cell kvKey, BloomFilter bloomFilter) protected voidReversedStoreScanner.checkScanOrder(Cell prevKV, Cell kv, CellComparator comparator) protected voidStoreScanner.checkScanOrder(Cell prevKV, Cell kv, CellComparator comparator) Check whether scan as expected orderintintCompares two KeyValueintintCompositeImmutableSegment.compareRows(Cell left, Cell right) intReversedKeyValueHeap.ReversedKVScannerComparator.compareRows(Cell left, Cell right) Compares rows of two KeyValueintSegment.compareRows(Cell left, Cell right) MobReferenceOnlyFilter.filterCell(Cell cell) private booleanRegionScannerImpl.filterRowKey(Cell current) (package private) static intSegment.getCellLength(Cell cell) Get cell length after serialized inKeyValueprivate static longHRegion.MutationBatchOperation.getLongValue(Cell cell) Returns Get the long out of the passed in Cellprivate HStoreReturn HStore instance.protected longSegment.heapSizeChange(Cell cell, boolean allocated) private booleanStripeMultiFileWriter.BoundaryMultiWriter.isCellAfterCurrentWriter(Cell cell) private static final booleanprivate booleanStoreFileScanner.isStillAtSeekTargetAfterSkippingNewerKvs(Cell seekKey) private booleanRegionScannerImpl.moreCellsInRow(Cell nextKv, Cell currentRowCell) Based on the nextKv in the heap, and the current row, decide whether or not there are more cells to be read in the heap.protected booleanRegionScannerImpl.nextRow(ScannerContext scannerContext, Cell curRowCell) protected booleanReversedRegionScannerImpl.nextRow(ScannerContext scannerContext, Cell curRowCell) private final intStripeStoreFileManager.nonOpenRowCompare(Cell k1, byte[] k2) protected longSegment.offHeapSizeChange(Cell cell, boolean allocated) booleanRegionCoprocessorHost.postScannerFilterRow(InternalScanner s, Cell curRowCell) This will be called by the scan flow when the current scanned row is being filtered out by the filter.private voidStripeMultiFileWriter.BoundaryMultiWriter.prepareWriterFor(Cell cell) booleanRegionCoprocessorHost.prePrepareTimeStampForDeleteVersion(Mutation mutation, Cell kv, byte[] byteNow, Get get) Supports Coprocessor 'bypass'.private voidHRegion.replayWALMetaEdit(Cell cell) Replay the meta edits, i.e, flush marker, compaction marker, bulk load marker, region event marker, etc.protected voidStripeMultiFileWriter.sanityCheckLeft(byte[] left, Cell cell) Subclasses can call this method to make sure the first KV is within multi-writer range.protected voidStripeMultiFileWriter.sanityCheckRight(byte[] right, Cell cell) Subclasses can call this method to make sure the last KV is within multi-writer range.(package private) voidScannerContext.setLastPeekedCell(Cell lastPeekedCell) protected booleanRegionScannerImpl.shouldStop(Cell currentRowCell) protected booleanReversedRegionScannerImpl.shouldStop(Cell currentRowCell) DefaultStoreFileManager.updateCandidateFilesForRowKeyBefore(Iterator<HStoreFile> candidateFiles, KeyValue targetKey, Cell candidate) StoreFileManager.updateCandidateFilesForRowKeyBefore(Iterator<HStoreFile> candidateFiles, KeyValue targetKey, Cell candidate) Updates the candidate list for finding row key before.StripeStoreFileManager.updateCandidateFilesForRowKeyBefore(Iterator<HStoreFile> candidateFiles, KeyValue targetKey, Cell candidate) SeeStoreFileManager.getCandidateFilesForRowKeyBefore(KeyValue)andStoreFileManager.updateCandidateFilesForRowKeyBefore(Iterator, KeyValue, Cell)for details on this methods.private voidHRegion.updateDeleteLatestVersionTimestamp(Cell cell, Get get, int count, byte[] byteNow) Method parameters in org.apache.hadoop.hbase.regionserver with type arguments of type CellModifier and TypeMethodDescriptionvoidHRegion.checkTimestamps(Map<byte[], List<Cell>> familyMap, long now) Check the collection of families for valid timestampsvoidbooleanSupports Coprocessor 'bypass'.private voidHRegion.recordMutationWithoutWal(Map<byte[], List<Cell>> familyMap) Update LongAdders for number of puts without wal and the size of possible data loss.Constructors in org.apache.hadoop.hbase.regionserver with parameters of type CellModifierConstructorDescriptionCellArrayMap(Comparator<? super T> comparator, T[] b, int min, int max, boolean descending) -
Uses of Cell in org.apache.hadoop.hbase.regionserver.regionreplication
Methods in org.apache.hadoop.hbase.regionserver.regionreplication with parameters of type CellModifier and TypeMethodDescription(package private) Optional<org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.FlushDescriptor>RegionReplicationSink.getStartFlushAllDescriptor(Cell metaCell) -
Uses of Cell in org.apache.hadoop.hbase.regionserver.throttle
Method parameters in org.apache.hadoop.hbase.regionserver.throttle with type arguments of type Cell -
Uses of Cell in org.apache.hadoop.hbase.regionserver.wal
Methods in org.apache.hadoop.hbase.regionserver.wal with parameters of type CellModifier and TypeMethodDescriptionprivate voidWALCellCodec.CompressedKvEncoder.writeCompressedValue(OutputStream out, Cell cell) Method parameters in org.apache.hadoop.hbase.regionserver.wal with type arguments of type CellModifier and TypeMethodDescriptionstatic voidWALUtil.filterCells(WALEdit edit, Function<Cell, Cell> mapper) static voidWALUtil.filterCells(WALEdit edit, Function<Cell, Cell> mapper) -
Uses of Cell in org.apache.hadoop.hbase.replication
Methods in org.apache.hadoop.hbase.replication that return CellModifier and TypeMethodDescriptionprivate CellChainWALEntryFilter.filterCell(WAL.Entry entry, Cell cell) NamespaceTableCfWALEntryFilter.filterCell(WAL.Entry entry, Cell cell) ScopeWALEntryFilter.filterCell(WAL.Entry entry, Cell cell) WALCellFilter.filterCell(WAL.Entry entry, Cell cell) Applies the filter, possibly returning a different Cell instance.Methods in org.apache.hadoop.hbase.replication with parameters of type CellModifier and TypeMethodDescriptionprivate voidprivate CellChainWALEntryFilter.filterCell(WAL.Entry entry, Cell cell) NamespaceTableCfWALEntryFilter.filterCell(WAL.Entry entry, Cell cell) ScopeWALEntryFilter.filterCell(WAL.Entry entry, Cell cell) WALCellFilter.filterCell(WAL.Entry entry, Cell cell) Applies the filter, possibly returning a different Cell instance.private static longReplicationBarrierFamilyFormat.getReplicationBarrier(Cell c) -
Uses of Cell in org.apache.hadoop.hbase.replication.regionserver
Fields in org.apache.hadoop.hbase.replication.regionserver declared as CellModifier and TypeFieldDescriptionprivate CellSerialReplicationSourceWALReader.firstCellInEntryBeforeFilteringMethods in org.apache.hadoop.hbase.replication.regionserver with parameters of type CellModifier and TypeMethodDescriptionbooleanprivate PutReplicationSink.processReplicationMarkerEntry(Cell cell) voidSerialReplicationChecker.waitUntilCanPush(WAL.Entry entry, Cell firstCellInEdit) -
Uses of Cell in org.apache.hadoop.hbase.rest
Fields in org.apache.hadoop.hbase.rest declared as CellModifier and TypeFieldDescriptionprivate CellRowResultGenerator.cacheprivate CellScannerResultGenerator.cacheFields in org.apache.hadoop.hbase.rest with type parameters of type CellMethods in org.apache.hadoop.hbase.rest that return CellMethods in org.apache.hadoop.hbase.rest with parameters of type Cell -
Uses of Cell in org.apache.hadoop.hbase.rest.model
Constructors in org.apache.hadoop.hbase.rest.model with parameters of type Cell -
Uses of Cell in org.apache.hadoop.hbase.security.access
Methods in org.apache.hadoop.hbase.security.access that return CellModifier and TypeMethodDescriptionprivate CellAccessController.createNewCellWithTags(Mutation mutation, Cell oldCell, Cell newCell) Methods in org.apache.hadoop.hbase.security.access that return types with arguments of type CellModifier and TypeMethodDescriptionAccessController.postAppendBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) AccessController.postAppendBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) AccessController.postIncrementBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) AccessController.postIncrementBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) Methods in org.apache.hadoop.hbase.security.access with parameters of type CellModifier and TypeMethodDescriptionbooleanAuthManager.authorizeCell(User user, TableName table, Cell cell, Permission.Action action) Check if user has given action privilige in cell scope.private CellAccessController.createNewCellWithTags(Mutation mutation, Cell oldCell, Cell newCell) AccessControlFilter.filterCell(Cell cell) booleanAccessControlFilter.filterRowKey(Cell cell) private static Pair<String,Permission> PermissionStorage.parsePermissionRecord(byte[] entryName, Cell kv, byte[] cf, byte[] cq, boolean filterPerms, String filterUser) Method parameters in org.apache.hadoop.hbase.security.access with type arguments of type CellModifier and TypeMethodDescriptionprivate static voidAccessController.addCellPermissions(byte[] perms, Map<byte[], List<Cell>> familyMap) AccessController.postAppendBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) AccessController.postAppendBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) AccessController.postIncrementBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) AccessController.postIncrementBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) voidAccessController.preGetOp(ObserverContext<? extends RegionCoprocessorEnvironment> c, Get get, List<Cell> result) private voidAccessController.updateACL(RegionCoprocessorEnvironment e, Map<byte[], List<Cell>> familyMap) Writes all table ACLs for the tables in the given Map up into ZooKeeper znodes. -
Uses of Cell in org.apache.hadoop.hbase.security.visibility
Methods in org.apache.hadoop.hbase.security.visibility that return CellModifier and TypeMethodDescriptionprivate CellVisibilityController.createNewCellWithTags(Mutation mutation, ExtendedCell newCell) Methods in org.apache.hadoop.hbase.security.visibility that return types with arguments of type CellModifier and TypeMethodDescriptionDefaultVisibilityLabelServiceImpl.getExistingLabelsWithAuths()VisibilityController.postAppendBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) VisibilityController.postAppendBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) VisibilityController.postIncrementBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) VisibilityController.postIncrementBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) Methods in org.apache.hadoop.hbase.security.visibility with parameters of type CellModifier and TypeMethodDescriptionbooleanEvaluates whether the passed cell passes Scan/Get Authorization.VisibilityController.DeleteVersionVisibilityExpressionFilter.filterCell(Cell cell) VisibilityLabelFilter.filterCell(Cell cell) booleanVisibilityController.DeleteVersionVisibilityExpressionFilter.filterRowKey(Cell cell) booleanVisibilityLabelFilter.filterRowKey(Cell cell) voidVisibilityController.prePrepareTimeStampForDeleteVersion(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation delete, Cell cell, byte[] byteNow, Get get) Method parameters in org.apache.hadoop.hbase.security.visibility with type arguments of type CellModifier and TypeMethodDescriptionDefaultVisibilityLabelServiceImpl.extractLabelsAndAuths(List<List<Cell>> labelDetails) VisibilityController.postAppendBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) VisibilityController.postAppendBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) VisibilityController.postIncrementBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) VisibilityController.postIncrementBeforeWAL(ObserverContext<? extends RegionCoprocessorEnvironment> ctx, Mutation mutation, List<Pair<Cell, Cell>> cellPairs) voidVisibilityController.preGetOp(ObserverContext<? extends RegionCoprocessorEnvironment> e, Get get, List<Cell> results) -
Uses of Cell in org.apache.hadoop.hbase.thrift
Methods in org.apache.hadoop.hbase.thrift with parameters of type CellModifier and TypeMethodDescriptionstatic List<org.apache.hadoop.hbase.thrift.generated.TCell>ThriftUtilities.cellFromHBase(Cell in) This utility method creates a list of Thrift TCell "struct" based on an Hbase Cell object.static List<org.apache.hadoop.hbase.thrift.generated.TCell>ThriftUtilities.cellFromHBase(Cell[] in) This utility method creates a list of Thrift TCell "struct" based on an Hbase Cell array. -
Uses of Cell in org.apache.hadoop.hbase.thrift2
Methods in org.apache.hadoop.hbase.thrift2 that return CellModifier and TypeMethodDescriptionstatic CellThriftUtilities.toCell(ExtendedCellBuilder cellBuilder, byte[] row, org.apache.hadoop.hbase.thrift2.generated.TColumnValue columnValue) -
Uses of Cell in org.apache.hadoop.hbase.tool
Methods in org.apache.hadoop.hbase.tool with parameters of type CellModifier and TypeMethodDescriptionprivate static StoreFileWriterBulkLoadHFilesTool.initStoreFileWriter(org.apache.hadoop.conf.Configuration conf, Cell cell, HFileContext hFileContext, CacheConfig cacheConf, BloomType bloomFilterType, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path outFile, AsyncTableRegionLocator loc) -
Uses of Cell in org.apache.hadoop.hbase.util
Classes in org.apache.hadoop.hbase.util that implement CellModifier and TypeClassDescriptionclassA wrapper for a cell to be used with mapreduce, as the output value class for mappers/reducers.Methods in org.apache.hadoop.hbase.util that return CellModifier and TypeMethodDescriptionBloomContext.getLastCell()BloomFilterWriter.getPrevCell()Returns the previous cell written by this writerMethods in org.apache.hadoop.hbase.util with parameters of type CellModifier and TypeMethodDescriptionvoidstatic intBytes.binarySearch(Cell[] arr, Cell key, CellComparator comparator) Binary search for keys in indexes.booleanCheck if the specified key is contained in the bloom filter.static booleanBloomFilterUtil.contains(Cell cell, ByteBuff bloomBuf, int bloomOffset, int bloomSize, Hash hash, int hashCount, BloomType type) Constructors in org.apache.hadoop.hbase.util with parameters of type CellModifierConstructorDescriptionCellHashKey(Cell cell) RowBloomHashKey(Cell cell) RowColBloomHashKey(Cell cell) -
Uses of Cell in org.apache.hadoop.hbase.wal
Methods in org.apache.hadoop.hbase.wal that return types with arguments of type CellMethods in org.apache.hadoop.hbase.wal with parameters of type CellModifier and TypeMethodDescriptionstatic org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.BulkLoadDescriptorWALEdit.getBulkLoadDescriptor(Cell cell) Deserialized and returns a BulkLoadDescriptor from the passed in Cellstatic org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.CompactionDescriptorWALEdit.getCompaction(Cell kv) Deserialized and returns a CompactionDescriptor is the KeyValue contains one.static org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.FlushDescriptorWALEdit.getFlushDescriptor(Cell cell) static org.apache.hadoop.hbase.shaded.protobuf.generated.WALProtos.RegionEventDescriptorWALEdit.getRegionEventDescriptor(Cell cell) static booleanWALEdit.isCompactionMarker(Cell cell) Returns true if the given cell is a serializedWALProtos.CompactionDescriptorstatic booleanWALEdit.isMetaEditFamily(Cell cell) Replaying WALs can read Cell-at-a-time so need this method in those cases.Method parameters in org.apache.hadoop.hbase.wal with type arguments of type CellModifier and TypeMethodDescriptionvoidThis is just for keeping compatibility for CPs, in HBase you should call the belowWALEdit.addMap(Map)directly to avoid casting.(package private) voidThis is just for keeping compatibility for CPs, in HBase you should call the belowWALEdit.setExtendedCells(ArrayList)directly to avoid casting.