HBASE-10864 Spelling nit (Alex Newman)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1582946 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
64dff91895
commit
300bc2b4ea
|
@ -170,7 +170,7 @@ public class Increment extends Mutation implements Comparable<Row> {
|
|||
* a map of families to a list of Longs. Now, {@link #getFamilyCellMap()} returns
|
||||
* families by list of Cells. This method has been added so you can have the
|
||||
* old behavior.
|
||||
* @return Map of families to a Map of qualifers and their Long increments.
|
||||
* @return Map of families to a Map of qualifiers and their Long increments.
|
||||
* @since 0.95.0
|
||||
*/
|
||||
public Map<byte[], NavigableMap<byte [], Long>> getFamilyMapOfLongs() {
|
||||
|
|
|
@ -676,7 +676,7 @@ public final class ProtobufUtil {
|
|||
byte[] qualifier = qv.getQualifier().toByteArray();
|
||||
if (!qv.hasValue()) {
|
||||
throw new DoNotRetryIOException(
|
||||
"Missing required field: qualifer value");
|
||||
"Missing required field: qualifier value");
|
||||
}
|
||||
byte[] value = qv.getValue().toByteArray();
|
||||
byte[] tags = null;
|
||||
|
@ -754,7 +754,7 @@ public final class ProtobufUtil {
|
|||
for (QualifierValue qv: column.getQualifierValueList()) {
|
||||
byte[] qualifier = qv.getQualifier().toByteArray();
|
||||
if (!qv.hasValue()) {
|
||||
throw new DoNotRetryIOException("Missing required field: qualifer value");
|
||||
throw new DoNotRetryIOException("Missing required field: qualifier value");
|
||||
}
|
||||
byte[] value = qv.getValue().toByteArray();
|
||||
byte[] tags = null;
|
||||
|
|
|
@ -63,7 +63,7 @@ public class TablePermission extends Permission {
|
|||
|
||||
/**
|
||||
* Creates a new permission for the given table, restricted to the given
|
||||
* column family and qualifer, allowing the assigned actions to be performed.
|
||||
* column family and qualifier, allowing the assigned actions to be performed.
|
||||
* @param table the table
|
||||
* @param family the family, can be null if a global permission on the table
|
||||
* @param assigned the list of allowed actions
|
||||
|
@ -93,7 +93,7 @@ public class TablePermission extends Permission {
|
|||
|
||||
/**
|
||||
* Creates a new permission for the given namespace or table, restricted to the given
|
||||
* column family and qualifer, allowing the assigned actions to be performed.
|
||||
* column family and qualifier, allowing the assigned actions to be performed.
|
||||
* @param namespace
|
||||
* @param table the table
|
||||
* @param family the family, can be null if a global permission on the table
|
||||
|
|
|
@ -981,7 +981,7 @@ timestamp.
|
|||
PUT and POST operations are equivalent here: Specified addresses without
|
||||
existing data will create new values. Specified addresses with existing data
|
||||
will create new versions, overwriting an existing version if all of { row,
|
||||
column:qualifer, timestamp } match that of the existing value.
|
||||
column:qualifier, timestamp } match that of the existing value.
|
||||
<p>
|
||||
See "Cell Query (Single Value)" section for encoding examples.
|
||||
<p>
|
||||
|
@ -1018,7 +1018,7 @@ Supply commit data in the PUT or POST body.
|
|||
PUT and POST operations are equivalent here: Specified addresses without
|
||||
existing data will create new values. Specified addresses with existing data
|
||||
will create new versions, overwriting an existing version if all of { row,
|
||||
column:qualifer, timestamp } match that of the existing value.
|
||||
column:qualifier, timestamp } match that of the existing value.
|
||||
<p>
|
||||
See "Cell or Row Query (Multiple Values)" for encoding examples.
|
||||
<p>
|
||||
|
|
|
@ -39,10 +39,10 @@ public class TestScanWildcardColumnTracker extends HBaseTestCase {
|
|||
|
||||
//Create list of qualifiers
|
||||
List<byte[]> qualifiers = new ArrayList<byte[]>();
|
||||
qualifiers.add(Bytes.toBytes("qualifer1"));
|
||||
qualifiers.add(Bytes.toBytes("qualifer2"));
|
||||
qualifiers.add(Bytes.toBytes("qualifer3"));
|
||||
qualifiers.add(Bytes.toBytes("qualifer4"));
|
||||
qualifiers.add(Bytes.toBytes("qualifier1"));
|
||||
qualifiers.add(Bytes.toBytes("qualifier2"));
|
||||
qualifiers.add(Bytes.toBytes("qualifier3"));
|
||||
qualifiers.add(Bytes.toBytes("qualifier4"));
|
||||
|
||||
//Setting up expected result
|
||||
List<MatchCode> expected = new ArrayList<MatchCode>();
|
||||
|
@ -72,10 +72,10 @@ public class TestScanWildcardColumnTracker extends HBaseTestCase {
|
|||
|
||||
//Create list of qualifiers
|
||||
List<byte[]> qualifiers = new ArrayList<byte[]>();
|
||||
qualifiers.add(Bytes.toBytes("qualifer1"));
|
||||
qualifiers.add(Bytes.toBytes("qualifer1"));
|
||||
qualifiers.add(Bytes.toBytes("qualifer1"));
|
||||
qualifiers.add(Bytes.toBytes("qualifer2"));
|
||||
qualifiers.add(Bytes.toBytes("qualifier1"));
|
||||
qualifiers.add(Bytes.toBytes("qualifier1"));
|
||||
qualifiers.add(Bytes.toBytes("qualifier1"));
|
||||
qualifiers.add(Bytes.toBytes("qualifier2"));
|
||||
|
||||
//Setting up expected result
|
||||
List<ScanQueryMatcher.MatchCode> expected = new ArrayList<MatchCode>();
|
||||
|
@ -106,8 +106,8 @@ public class TestScanWildcardColumnTracker extends HBaseTestCase {
|
|||
|
||||
//Create list of qualifiers
|
||||
List<byte[]> qualifiers = new ArrayList<byte[]>();
|
||||
qualifiers.add(Bytes.toBytes("qualifer2"));
|
||||
qualifiers.add(Bytes.toBytes("qualifer1"));
|
||||
qualifiers.add(Bytes.toBytes("qualifier2"));
|
||||
qualifiers.add(Bytes.toBytes("qualifier1"));
|
||||
|
||||
boolean ok = false;
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ Example formatting cf:qualifier1 and cf:qualifier2 both as Integers:
|
|||
hbase> get 't1', 'r1' {COLUMN => ['cf:qualifier1:toInt',
|
||||
'cf:qualifier2:c(org.apache.hadoop.hbase.util.Bytes).toInt'] }
|
||||
|
||||
Note that you can specify a FORMATTER by column only (cf:qualifer). You cannot specify
|
||||
Note that you can specify a FORMATTER by column only (cf:qualifier). You cannot specify
|
||||
a FORMATTER for all columns of a column family.
|
||||
|
||||
The same commands also can be run on a reference to a table (obtained via get_table or
|
||||
|
|
|
@ -75,7 +75,7 @@ Example formatting cf:qualifier1 and cf:qualifier2 both as Integers:
|
|||
hbase> scan 't1', {COLUMNS => ['cf:qualifier1:toInt',
|
||||
'cf:qualifier2:c(org.apache.hadoop.hbase.util.Bytes).toInt'] }
|
||||
|
||||
Note that you can specify a FORMATTER by column only (cf:qualifer). You cannot
|
||||
Note that you can specify a FORMATTER by column only (cf:qualifier). You cannot
|
||||
specify a FORMATTER for all columns of a column family.
|
||||
|
||||
Scan can also be used directly from a table, by first getting a reference to a
|
||||
|
|
Loading…
Reference in New Issue