public static final class RowFilter.Condition extends GeneratedMessageV3 implements RowFilter.ConditionOrBuilder
A RowFilter which evaluates one of two possible RowFilters, depending on
whether or not a predicate RowFilter outputs any cells from the input row.
IMPORTANT NOTE: The predicate filter does not execute atomically with the
true and false filters, which may lead to inconsistent or unexpected
results. Additionally, Condition filters have poor performance, especially
when filters are set for the false condition.
Protobuf type google.bigtable.v2.RowFilter.Condition
Fields
FALSE_FILTER_FIELD_NUMBER
public static final int FALSE_FILTER_FIELD_NUMBER
Field Value
PREDICATE_FILTER_FIELD_NUMBER
public static final int PREDICATE_FILTER_FIELD_NUMBER
Field Value
TRUE_FILTER_FIELD_NUMBER
public static final int TRUE_FILTER_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static RowFilter.Condition getDefaultInstance()
Returns
getDefaultInstanceForType()
public RowFilter.Condition getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getFalseFilter()
public RowFilter getFalseFilter()
The filter to apply to the input row if predicate_filter
does not
return any results. If not provided, no results will be returned in the
false case.
.google.bigtable.v2.RowFilter false_filter = 3;
Returns
getFalseFilterOrBuilder()
public RowFilterOrBuilder getFalseFilterOrBuilder()
The filter to apply to the input row if predicate_filter
does not
return any results. If not provided, no results will be returned in the
false case.
.google.bigtable.v2.RowFilter false_filter = 3;
Returns
getParserForType()
public Parser<RowFilter.Condition> getParserForType()
Returns
Overrides
getPredicateFilter()
public RowFilter getPredicateFilter()
If predicate_filter
outputs any cells, then true_filter
will be
evaluated on the input row. Otherwise, false_filter
will be evaluated.
.google.bigtable.v2.RowFilter predicate_filter = 1;
Returns
getPredicateFilterOrBuilder()
public RowFilterOrBuilder getPredicateFilterOrBuilder()
If predicate_filter
outputs any cells, then true_filter
will be
evaluated on the input row. Otherwise, false_filter
will be evaluated.
.google.bigtable.v2.RowFilter predicate_filter = 1;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTrueFilter()
public RowFilter getTrueFilter()
The filter to apply to the input row if predicate_filter
returns any
results. If not provided, no results will be returned in the true case.
.google.bigtable.v2.RowFilter true_filter = 2;
Returns
getTrueFilterOrBuilder()
public RowFilterOrBuilder getTrueFilterOrBuilder()
The filter to apply to the input row if predicate_filter
returns any
results. If not provided, no results will be returned in the true case.
.google.bigtable.v2.RowFilter true_filter = 2;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasFalseFilter()
public boolean hasFalseFilter()
The filter to apply to the input row if predicate_filter
does not
return any results. If not provided, no results will be returned in the
false case.
.google.bigtable.v2.RowFilter false_filter = 3;
Returns
Type | Description |
boolean | Whether the falseFilter field is set.
|
hasPredicateFilter()
public boolean hasPredicateFilter()
If predicate_filter
outputs any cells, then true_filter
will be
evaluated on the input row. Otherwise, false_filter
will be evaluated.
.google.bigtable.v2.RowFilter predicate_filter = 1;
Returns
Type | Description |
boolean | Whether the predicateFilter field is set.
|
hasTrueFilter()
public boolean hasTrueFilter()
The filter to apply to the input row if predicate_filter
returns any
results. If not provided, no results will be returned in the true case.
.google.bigtable.v2.RowFilter true_filter = 2;
Returns
Type | Description |
boolean | Whether the trueFilter field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static RowFilter.Condition.Builder newBuilder()
Returns
newBuilder(RowFilter.Condition prototype)
public static RowFilter.Condition.Builder newBuilder(RowFilter.Condition prototype)
Parameter
Returns
newBuilderForType()
public RowFilter.Condition.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RowFilter.Condition.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static RowFilter.Condition parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static RowFilter.Condition parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static RowFilter.Condition parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RowFilter.Condition parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static RowFilter.Condition parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RowFilter.Condition parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RowFilter.Condition parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static RowFilter.Condition parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RowFilter.Condition parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static RowFilter.Condition parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static RowFilter.Condition parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RowFilter.Condition parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<RowFilter.Condition> parser()
Returns
toBuilder()
public RowFilter.Condition.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions