Class protos.google.bigtable.v2.RowFilter (5.0.0)

Represents a RowFilter.

Package

@google-cloud/bigtable

Constructors

(constructor)(properties)

constructor(properties?: google.bigtable.v2.IRowFilter);

Constructs a new RowFilter.

Parameter
NameDescription
properties IRowFilter

Properties to set

Properties

applyLabelTransformer

public applyLabelTransformer?: (string|null);

RowFilter applyLabelTransformer.

blockAllFilter

public blockAllFilter?: (boolean|null);

RowFilter blockAllFilter.

cellsPerColumnLimitFilter

public cellsPerColumnLimitFilter?: (number|null);

RowFilter cellsPerColumnLimitFilter.

cellsPerRowLimitFilter

public cellsPerRowLimitFilter?: (number|null);

RowFilter cellsPerRowLimitFilter.

cellsPerRowOffsetFilter

public cellsPerRowOffsetFilter?: (number|null);

RowFilter cellsPerRowOffsetFilter.

chain

public chain?: (google.bigtable.v2.RowFilter.IChain|null);

RowFilter chain.

columnQualifierRegexFilter

public columnQualifierRegexFilter?: (Uint8Array|string|null);

RowFilter columnQualifierRegexFilter.

columnRangeFilter

public columnRangeFilter?: (google.bigtable.v2.IColumnRange|null);

RowFilter columnRangeFilter.

condition

public condition?: (google.bigtable.v2.RowFilter.ICondition|null);

RowFilter condition.

familyNameRegexFilter

public familyNameRegexFilter?: (string|null);

RowFilter familyNameRegexFilter.

filter

public filter?: ("chain"|"interleave"|"condition"|"sink"|"passAllFilter"|"blockAllFilter"|"rowKeyRegexFilter"|"rowSampleFilter"|"familyNameRegexFilter"|"columnQualifierRegexFilter"|"columnRangeFilter"|"timestampRangeFilter"|"valueRegexFilter"|"valueRangeFilter"|"cellsPerRowOffsetFilter"|"cellsPerRowLimitFilter"|"cellsPerColumnLimitFilter"|"stripValueTransformer"|"applyLabelTransformer");

RowFilter filter.

interleave

public interleave?: (google.bigtable.v2.RowFilter.IInterleave|null);

RowFilter interleave.

passAllFilter

public passAllFilter?: (boolean|null);

RowFilter passAllFilter.

rowKeyRegexFilter

public rowKeyRegexFilter?: (Uint8Array|string|null);

RowFilter rowKeyRegexFilter.

rowSampleFilter

public rowSampleFilter?: (number|null);

RowFilter rowSampleFilter.

sink

public sink?: (boolean|null);

RowFilter sink.

stripValueTransformer

public stripValueTransformer?: (boolean|null);

RowFilter stripValueTransformer.

timestampRangeFilter

public timestampRangeFilter?: (google.bigtable.v2.ITimestampRange|null);

RowFilter timestampRangeFilter.

valueRangeFilter

public valueRangeFilter?: (google.bigtable.v2.IValueRange|null);

RowFilter valueRangeFilter.

valueRegexFilter

public valueRegexFilter?: (Uint8Array|string|null);

RowFilter valueRegexFilter.

Methods

create(properties)

public static create(properties?: google.bigtable.v2.IRowFilter): google.bigtable.v2.RowFilter;

Creates a new RowFilter instance using the specified properties.

Parameter
NameDescription
properties IRowFilter

Properties to set

Returns
TypeDescription
RowFilter

RowFilter instance

decode(reader, length)

public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.bigtable.v2.RowFilter;

Decodes a RowFilter message from the specified reader or buffer.

Parameters
NameDescription
reader (Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
TypeDescription
RowFilter

RowFilter

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.bigtable.v2.RowFilter;

Decodes a RowFilter message from the specified reader or buffer, length delimited.

Parameter
NameDescription
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
TypeDescription
RowFilter

RowFilter

encode(message, writer)

public static encode(message: google.bigtable.v2.IRowFilter, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified RowFilter message. Does not implicitly messages.

Parameters
NameDescription
message IRowFilter

RowFilter message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

encodeDelimited(message, writer)

public static encodeDelimited(message: google.bigtable.v2.IRowFilter, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified RowFilter message, length delimited. Does not implicitly messages.

Parameters
NameDescription
message IRowFilter

RowFilter message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

fromObject(object)

public static fromObject(object: { [k: string]: any }): google.bigtable.v2.RowFilter;

Creates a RowFilter message from a plain object. Also converts values to their respective internal types.

Parameter
NameDescription
object { [k: string]: any }

Plain object

Returns
TypeDescription
RowFilter

RowFilter

getTypeUrl(typeUrlPrefix)

public static getTypeUrl(typeUrlPrefix?: string): string;

Gets the default type url for RowFilter

Parameter
NameDescription
typeUrlPrefix string

your custom typeUrlPrefix(default "type.googleapis.com")

Returns
TypeDescription
string

The default type url

toJSON()

public toJSON(): { [k: string]: any };

Converts this RowFilter to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

public static toObject(message: google.bigtable.v2.RowFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };

Creates a plain object from a RowFilter message. Also converts values to other types if specified.

Parameters
NameDescription
message RowFilter

RowFilter

options $protobuf.IConversionOptions

Conversion options

Returns
TypeDescription
{ [k: string]: any }

Plain object

verify(message)

public static verify(message: { [k: string]: any }): (string|null);

Verifies a RowFilter message.

Parameter
NameDescription
message { [k: string]: any }

Plain object to verify

Returns
TypeDescription
(string|null)

null if valid, otherwise the reason why it is not