public final class Column extends Object implements Comparable<Column>, Serializable
Constructor and Description |
---|
Column()
Creates an empty Column where family, qualifier and visibility are not set
|
Column(Bytes family)
Creates Column with only a family.
|
Column(Bytes family,
Bytes qualifier)
Creates Column with a family and qualifier.
|
Column(Bytes family,
Bytes qualifier,
Bytes visibility)
Creates Column with family, qualifier, and visibility
|
Column(CharSequence family)
Creates Column with only a family.
|
Column(CharSequence family,
CharSequence qualifier)
Creates Column with a family and qualifier.
|
Column(CharSequence family,
CharSequence qualifier,
CharSequence visibility)
Creates Column with family, qualifier, and visibility.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Column other) |
boolean |
equals(Object o) |
Bytes |
getFamily()
Retrieves Column Family (in Bytes).
|
Bytes |
getQualifier()
Retrieves Column Qualifier (in Bytes).
|
String |
getsFamily()
Get the column family as a string using UTF-8 encoding.
|
String |
getsQualifier()
Get the column family as a string using UTF-8 encoding.
|
String |
getsVisibility()
Get the column visibility as a string using UTF-8 encoding.
|
Bytes |
getVisibility()
Retrieves Column Visibility (in Bytes).
|
int |
hashCode() |
boolean |
isFamilySet()
Returns true if family is set
|
boolean |
isQualifierSet()
Returns true if qualifier is set
|
boolean |
isVisibilitySet()
Returns true if visibility is set.
|
String |
toString() |
public static final Column EMPTY
public Column()
public Column(Bytes family)
public Column(CharSequence family)
public Column(CharSequence family, CharSequence qualifier)
public Column(Bytes family, Bytes qualifier, Bytes visibility)
public Column(CharSequence family, CharSequence qualifier, CharSequence visibility)
public boolean isFamilySet()
public Bytes getFamily()
public String getsFamily()
public boolean isQualifierSet()
public Bytes getQualifier()
public String getsQualifier()
public boolean isVisibilitySet()
public Bytes getVisibility()
public String getsVisibility()
public int compareTo(Column other)
compareTo
in interface Comparable<Column>
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.