bigtable

package
v0.0.0-...-2824937 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2020 License: MIT, Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package bigtable is a generated protocol buffer package.

It is generated from these files:

google/bigtable/v1/bigtable_data.proto
google/bigtable/v1/bigtable_service.proto
google/bigtable/v1/bigtable_service_messages.proto

It has these top-level messages:

Row
Family
Column
Cell
RowRange
RowSet
ColumnRange
TimestampRange
ValueRange
RowFilter
Mutation
ReadModifyWriteRule
ReadRowsRequest
ReadRowsResponse
SampleRowKeysRequest
SampleRowKeysResponse
MutateRowRequest
MutateRowsRequest
MutateRowsResponse
CheckAndMutateRowRequest
CheckAndMutateRowResponse
ReadModifyWriteRowRequest

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterBigtableServiceServer

func RegisterBigtableServiceServer(s *grpc.Server, srv BigtableServiceServer)

Types

type BigtableServiceClient

type BigtableServiceClient interface {
	// Streams back the contents of all requested rows, optionally applying
	// the same Reader filter to each. Depending on their size, rows may be
	// broken up across multiple responses, but atomicity of each row will still
	// be preserved.
	ReadRows(ctx context.Context, in *ReadRowsRequest, opts ...grpc.CallOption) (BigtableService_ReadRowsClient, error)
	// Returns a sample of row keys in the table. The returned row keys will
	// delimit contiguous sections of the table of approximately equal size,
	// which can be used to break up the data for distributed tasks like
	// mapreduces.
	SampleRowKeys(ctx context.Context, in *SampleRowKeysRequest, opts ...grpc.CallOption) (BigtableService_SampleRowKeysClient, error)
	// Mutates a row atomically. Cells already present in the row are left
	// unchanged unless explicitly changed by 'mutation'.
	MutateRow(ctx context.Context, in *MutateRowRequest, opts ...grpc.CallOption) (*google_protobuf2.Empty, error)
	// Mutates multiple rows in a batch. Each individual row is mutated
	// atomically as in MutateRow, but the entire batch is not executed
	// atomically.
	MutateRows(ctx context.Context, in *MutateRowsRequest, opts ...grpc.CallOption) (*MutateRowsResponse, error)
	// Mutates a row atomically based on the output of a predicate Reader filter.
	CheckAndMutateRow(ctx context.Context, in *CheckAndMutateRowRequest, opts ...grpc.CallOption) (*CheckAndMutateRowResponse, error)
	// Modifies a row atomically, reading the latest existing timestamp/value from
	// the specified columns and writing a new value at
	// max(existing timestamp, current server time) based on pre-defined
	// read/modify/write rules. Returns the new contents of all modified cells.
	ReadModifyWriteRow(ctx context.Context, in *ReadModifyWriteRowRequest, opts ...grpc.CallOption) (*Row, error)
}

func NewBigtableServiceClient

func NewBigtableServiceClient(cc *grpc.ClientConn) BigtableServiceClient

type BigtableServiceServer

type BigtableServiceServer interface {
	// Streams back the contents of all requested rows, optionally applying
	// the same Reader filter to each. Depending on their size, rows may be
	// broken up across multiple responses, but atomicity of each row will still
	// be preserved.
	ReadRows(*ReadRowsRequest, BigtableService_ReadRowsServer) error
	// Returns a sample of row keys in the table. The returned row keys will
	// delimit contiguous sections of the table of approximately equal size,
	// which can be used to break up the data for distributed tasks like
	// mapreduces.
	SampleRowKeys(*SampleRowKeysRequest, BigtableService_SampleRowKeysServer) error
	// Mutates a row atomically. Cells already present in the row are left
	// unchanged unless explicitly changed by 'mutation'.
	MutateRow(context.Context, *MutateRowRequest) (*google_protobuf2.Empty, error)
	// Mutates multiple rows in a batch. Each individual row is mutated
	// atomically as in MutateRow, but the entire batch is not executed
	// atomically.
	MutateRows(context.Context, *MutateRowsRequest) (*MutateRowsResponse, error)
	// Mutates a row atomically based on the output of a predicate Reader filter.
	CheckAndMutateRow(context.Context, *CheckAndMutateRowRequest) (*CheckAndMutateRowResponse, error)
	// Modifies a row atomically, reading the latest existing timestamp/value from
	// the specified columns and writing a new value at
	// max(existing timestamp, current server time) based on pre-defined
	// read/modify/write rules. Returns the new contents of all modified cells.
	ReadModifyWriteRow(context.Context, *ReadModifyWriteRowRequest) (*Row, error)
}

type BigtableService_ReadRowsClient

type BigtableService_ReadRowsClient interface {
	Recv() (*ReadRowsResponse, error)
	grpc.ClientStream
}

type BigtableService_ReadRowsServer

type BigtableService_ReadRowsServer interface {
	Send(*ReadRowsResponse) error
	grpc.ServerStream
}

type BigtableService_SampleRowKeysClient

type BigtableService_SampleRowKeysClient interface {
	Recv() (*SampleRowKeysResponse, error)
	grpc.ClientStream
}

type BigtableService_SampleRowKeysServer

type BigtableService_SampleRowKeysServer interface {
	Send(*SampleRowKeysResponse) error
	grpc.ServerStream
}

type Cell

type Cell struct {
	// The cell's stored timestamp, which also uniquely identifies it within
	// its column.
	// Values are always expressed in microseconds, but individual tables may set
	// a coarser "granularity" to further restrict the allowed values. For
	// example, a table which specifies millisecond granularity will only allow
	// values of "timestamp_micros" which are multiples of 1000.
	TimestampMicros int64 `protobuf:"varint,1,opt,name=timestamp_micros,json=timestampMicros" json:"timestamp_micros,omitempty"`
	// The value stored in the cell.
	// May contain any byte string, including the empty string, up to 100MiB in
	// length.
	Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// Labels applied to the cell by a [RowFilter][google.bigtable.v1.RowFilter].
	Labels []string `protobuf:"bytes,3,rep,name=labels" json:"labels,omitempty"`
}

Specifies (some of) the contents of a single row/column/timestamp of a table.

func (*Cell) Descriptor

func (*Cell) Descriptor() ([]byte, []int)

func (*Cell) GetLabels

func (m *Cell) GetLabels() []string

func (*Cell) GetTimestampMicros

func (m *Cell) GetTimestampMicros() int64

func (*Cell) GetValue

func (m *Cell) GetValue() []byte

func (*Cell) ProtoMessage

func (*Cell) ProtoMessage()

func (*Cell) Reset

func (m *Cell) Reset()

func (*Cell) String

func (m *Cell) String() string

type CheckAndMutateRowRequest

type CheckAndMutateRowRequest struct {
	// The unique name of the table to which the conditional mutation should be
	// applied.
	TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
	// The key of the row to which the conditional mutation should be applied.
	RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"`
	// The filter to be applied to the contents of the specified row. Depending
	// on whether or not any results are yielded, either "true_mutations" or
	// "false_mutations" will be executed. If unset, checks that the row contains
	// any values at all.
	PredicateFilter *RowFilter `protobuf:"bytes,6,opt,name=predicate_filter,json=predicateFilter" json:"predicate_filter,omitempty"`
	// Changes to be atomically applied to the specified row if "predicate_filter"
	// yields at least one cell when applied to "row_key". Entries are applied in
	// order, meaning that earlier mutations can be masked by later ones.
	// Must contain at least one entry if "false_mutations" is empty, and at most
	// 100000.
	TrueMutations []*Mutation `protobuf:"bytes,4,rep,name=true_mutations,json=trueMutations" json:"true_mutations,omitempty"`
	// Changes to be atomically applied to the specified row if "predicate_filter"
	// does not yield any cells when applied to "row_key". Entries are applied in
	// order, meaning that earlier mutations can be masked by later ones.
	// Must contain at least one entry if "true_mutations" is empty, and at most
	// 100000.
	FalseMutations []*Mutation `protobuf:"bytes,5,rep,name=false_mutations,json=falseMutations" json:"false_mutations,omitempty"`
}

Request message for BigtableService.CheckAndMutateRowRequest

func (*CheckAndMutateRowRequest) Descriptor

func (*CheckAndMutateRowRequest) Descriptor() ([]byte, []int)

func (*CheckAndMutateRowRequest) GetFalseMutations

func (m *CheckAndMutateRowRequest) GetFalseMutations() []*Mutation

func (*CheckAndMutateRowRequest) GetPredicateFilter

func (m *CheckAndMutateRowRequest) GetPredicateFilter() *RowFilter

func (*CheckAndMutateRowRequest) GetRowKey

func (m *CheckAndMutateRowRequest) GetRowKey() []byte

func (*CheckAndMutateRowRequest) GetTableName

func (m *CheckAndMutateRowRequest) GetTableName() string

func (*CheckAndMutateRowRequest) GetTrueMutations

func (m *CheckAndMutateRowRequest) GetTrueMutations() []*Mutation

func (*CheckAndMutateRowRequest) ProtoMessage

func (*CheckAndMutateRowRequest) ProtoMessage()

func (*CheckAndMutateRowRequest) Reset

func (m *CheckAndMutateRowRequest) Reset()

func (*CheckAndMutateRowRequest) String

func (m *CheckAndMutateRowRequest) String() string

type CheckAndMutateRowResponse

type CheckAndMutateRowResponse struct {
	// Whether or not the request's "predicate_filter" yielded any results for
	// the specified row.
	PredicateMatched bool `protobuf:"varint,1,opt,name=predicate_matched,json=predicateMatched" json:"predicate_matched,omitempty"`
}

Response message for BigtableService.CheckAndMutateRowRequest.

func (*CheckAndMutateRowResponse) Descriptor

func (*CheckAndMutateRowResponse) Descriptor() ([]byte, []int)

func (*CheckAndMutateRowResponse) GetPredicateMatched

func (m *CheckAndMutateRowResponse) GetPredicateMatched() bool

func (*CheckAndMutateRowResponse) ProtoMessage

func (*CheckAndMutateRowResponse) ProtoMessage()

func (*CheckAndMutateRowResponse) Reset

func (m *CheckAndMutateRowResponse) Reset()

func (*CheckAndMutateRowResponse) String

func (m *CheckAndMutateRowResponse) String() string

type Column

type Column struct {
	// The unique key which identifies this column within its family. This is the
	// same key that's used to identify the column in, for example, a RowFilter
	// which sets its "column_qualifier_regex_filter" field.
	// May contain any byte string, including the empty string, up to 16kiB in
	// length.
	Qualifier []byte `protobuf:"bytes,1,opt,name=qualifier,proto3" json:"qualifier,omitempty"`
	// Must not be empty. Sorted in order of decreasing "timestamp_micros".
	Cells []*Cell `protobuf:"bytes,2,rep,name=cells" json:"cells,omitempty"`
}

Specifies (some of) the contents of a single row/column of a table.

func (*Column) Descriptor

func (*Column) Descriptor() ([]byte, []int)

func (*Column) GetCells

func (m *Column) GetCells() []*Cell

func (*Column) GetQualifier

func (m *Column) GetQualifier() []byte

func (*Column) ProtoMessage

func (*Column) ProtoMessage()

func (*Column) Reset

func (m *Column) Reset()

func (*Column) String

func (m *Column) String() string

type ColumnRange

type ColumnRange struct {
	// The name of the column family within which this range falls.
	FamilyName string `protobuf:"bytes,1,opt,name=family_name,json=familyName" json:"family_name,omitempty"`
	// The column qualifier at which to start the range (within 'column_family').
	// If neither field is set, interpreted as the empty string, inclusive.
	//
	// Types that are valid to be assigned to StartQualifier:
	//	*ColumnRange_StartQualifierInclusive
	//	*ColumnRange_StartQualifierExclusive
	StartQualifier isColumnRange_StartQualifier `protobuf_oneof:"start_qualifier"`
	// The column qualifier at which to end the range (within 'column_family').
	// If neither field is set, interpreted as the infinite string, exclusive.
	//
	// Types that are valid to be assigned to EndQualifier:
	//	*ColumnRange_EndQualifierInclusive
	//	*ColumnRange_EndQualifierExclusive
	EndQualifier isColumnRange_EndQualifier `protobuf_oneof:"end_qualifier"`
}

Specifies a contiguous range of columns within a single column family. The range spans from <column_family>:<start_qualifier> to <column_family>:<end_qualifier>, where both bounds can be either inclusive or exclusive.

func (*ColumnRange) Descriptor

func (*ColumnRange) Descriptor() ([]byte, []int)

func (*ColumnRange) GetEndQualifier

func (m *ColumnRange) GetEndQualifier() isColumnRange_EndQualifier

func (*ColumnRange) GetEndQualifierExclusive

func (m *ColumnRange) GetEndQualifierExclusive() []byte

func (*ColumnRange) GetEndQualifierInclusive

func (m *ColumnRange) GetEndQualifierInclusive() []byte

func (*ColumnRange) GetFamilyName

func (m *ColumnRange) GetFamilyName() string

func (*ColumnRange) GetStartQualifier

func (m *ColumnRange) GetStartQualifier() isColumnRange_StartQualifier

func (*ColumnRange) GetStartQualifierExclusive

func (m *ColumnRange) GetStartQualifierExclusive() []byte

func (*ColumnRange) GetStartQualifierInclusive

func (m *ColumnRange) GetStartQualifierInclusive() []byte

func (*ColumnRange) ProtoMessage

func (*ColumnRange) ProtoMessage()

func (*ColumnRange) Reset

func (m *ColumnRange) Reset()

func (*ColumnRange) String

func (m *ColumnRange) String() string

func (*ColumnRange) XXX_OneofFuncs

func (*ColumnRange) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type ColumnRange_EndQualifierExclusive

type ColumnRange_EndQualifierExclusive struct {
	EndQualifierExclusive []byte `protobuf:"bytes,5,opt,name=end_qualifier_exclusive,json=endQualifierExclusive,proto3,oneof"`
}

type ColumnRange_EndQualifierInclusive

type ColumnRange_EndQualifierInclusive struct {
	EndQualifierInclusive []byte `protobuf:"bytes,4,opt,name=end_qualifier_inclusive,json=endQualifierInclusive,proto3,oneof"`
}

type ColumnRange_StartQualifierExclusive

type ColumnRange_StartQualifierExclusive struct {
	StartQualifierExclusive []byte `protobuf:"bytes,3,opt,name=start_qualifier_exclusive,json=startQualifierExclusive,proto3,oneof"`
}

type ColumnRange_StartQualifierInclusive

type ColumnRange_StartQualifierInclusive struct {
	StartQualifierInclusive []byte `protobuf:"bytes,2,opt,name=start_qualifier_inclusive,json=startQualifierInclusive,proto3,oneof"`
}

type Family

type Family struct {
	// The unique key which identifies this family within its row. This is the
	// same key that's used to identify the family in, for example, a RowFilter
	// which sets its "family_name_regex_filter" field.
	// Must match [-_.a-zA-Z0-9]+, except that AggregatingRowProcessors may
	// produce cells in a sentinel family with an empty name.
	// Must be no greater than 64 characters in length.
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
	// Must not be empty. Sorted in order of increasing "qualifier".
	Columns []*Column `protobuf:"bytes,2,rep,name=columns" json:"columns,omitempty"`
}

Specifies (some of) the contents of a single row/column family of a table.

func (*Family) Descriptor

func (*Family) Descriptor() ([]byte, []int)

func (*Family) GetColumns

func (m *Family) GetColumns() []*Column

func (*Family) GetName

func (m *Family) GetName() string

func (*Family) ProtoMessage

func (*Family) ProtoMessage()

func (*Family) Reset

func (m *Family) Reset()

func (*Family) String

func (m *Family) String() string

type MutateRowRequest

type MutateRowRequest struct {
	// The unique name of the table to which the mutation should be applied.
	TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
	// The key of the row to which the mutation should be applied.
	RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"`
	// Changes to be atomically applied to the specified row. Entries are applied
	// in order, meaning that earlier mutations can be masked by later ones.
	// Must contain at least one entry and at most 100000.
	Mutations []*Mutation `protobuf:"bytes,3,rep,name=mutations" json:"mutations,omitempty"`
}

Request message for BigtableService.MutateRow.

func (*MutateRowRequest) Descriptor

func (*MutateRowRequest) Descriptor() ([]byte, []int)

func (*MutateRowRequest) GetMutations

func (m *MutateRowRequest) GetMutations() []*Mutation

func (*MutateRowRequest) GetRowKey

func (m *MutateRowRequest) GetRowKey() []byte

func (*MutateRowRequest) GetTableName

func (m *MutateRowRequest) GetTableName() string

func (*MutateRowRequest) ProtoMessage

func (*MutateRowRequest) ProtoMessage()

func (*MutateRowRequest) Reset

func (m *MutateRowRequest) Reset()

func (*MutateRowRequest) String

func (m *MutateRowRequest) String() string

type MutateRowsRequest

type MutateRowsRequest struct {
	// The unique name of the table to which the mutations should be applied.
	TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
	// The row keys/mutations to be applied in bulk.
	// Each entry is applied as an atomic mutation, but the entries may be
	// applied in arbitrary order (even between entries for the same row).
	// At least one entry must be specified, and in total the entries may
	// contain at most 100000 mutations.
	Entries []*MutateRowsRequest_Entry `protobuf:"bytes,2,rep,name=entries" json:"entries,omitempty"`
}

Request message for BigtableService.MutateRows.

func (*MutateRowsRequest) Descriptor

func (*MutateRowsRequest) Descriptor() ([]byte, []int)

func (*MutateRowsRequest) GetEntries

func (m *MutateRowsRequest) GetEntries() []*MutateRowsRequest_Entry

func (*MutateRowsRequest) GetTableName

func (m *MutateRowsRequest) GetTableName() string

func (*MutateRowsRequest) ProtoMessage

func (*MutateRowsRequest) ProtoMessage()

func (*MutateRowsRequest) Reset

func (m *MutateRowsRequest) Reset()

func (*MutateRowsRequest) String

func (m *MutateRowsRequest) String() string

type MutateRowsRequest_Entry

type MutateRowsRequest_Entry struct {
	// The key of the row to which the `mutations` should be applied.
	RowKey []byte `protobuf:"bytes,1,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"`
	// Changes to be atomically applied to the specified row. Mutations are
	// applied in order, meaning that earlier mutations can be masked by
	// later ones.
	// At least one mutation must be specified.
	Mutations []*Mutation `protobuf:"bytes,2,rep,name=mutations" json:"mutations,omitempty"`
}

func (*MutateRowsRequest_Entry) Descriptor

func (*MutateRowsRequest_Entry) Descriptor() ([]byte, []int)

func (*MutateRowsRequest_Entry) GetMutations

func (m *MutateRowsRequest_Entry) GetMutations() []*Mutation

func (*MutateRowsRequest_Entry) GetRowKey

func (m *MutateRowsRequest_Entry) GetRowKey() []byte

func (*MutateRowsRequest_Entry) ProtoMessage

func (*MutateRowsRequest_Entry) ProtoMessage()

func (*MutateRowsRequest_Entry) Reset

func (m *MutateRowsRequest_Entry) Reset()

func (*MutateRowsRequest_Entry) String

func (m *MutateRowsRequest_Entry) String() string

type MutateRowsResponse

type MutateRowsResponse struct {
	// The results for each Entry from the request, presented in the order
	// in which the entries were originally given.
	// Depending on how requests are batched during execution, it is possible
	// for one Entry to fail due to an error with another Entry. In the event
	// that this occurs, the same error will be reported for both entries.
	Statuses []*google_rpc.Status `protobuf:"bytes,1,rep,name=statuses" json:"statuses,omitempty"`
}

Response message for BigtableService.MutateRows.

func (*MutateRowsResponse) Descriptor

func (*MutateRowsResponse) Descriptor() ([]byte, []int)

func (*MutateRowsResponse) GetStatuses

func (m *MutateRowsResponse) GetStatuses() []*google_rpc.Status

func (*MutateRowsResponse) ProtoMessage

func (*MutateRowsResponse) ProtoMessage()

func (*MutateRowsResponse) Reset

func (m *MutateRowsResponse) Reset()

func (*MutateRowsResponse) String

func (m *MutateRowsResponse) String() string

type Mutation

type Mutation struct {
	// Which of the possible Mutation types to apply.
	//
	// Types that are valid to be assigned to Mutation:
	//	*Mutation_SetCell_
	//	*Mutation_DeleteFromColumn_
	//	*Mutation_DeleteFromFamily_
	//	*Mutation_DeleteFromRow_
	Mutation isMutation_Mutation `protobuf_oneof:"mutation"`
}

Specifies a particular change to be made to the contents of a row.

func (*Mutation) Descriptor

func (*Mutation) Descriptor() ([]byte, []int)

func (*Mutation) GetDeleteFromColumn

func (m *Mutation) GetDeleteFromColumn() *Mutation_DeleteFromColumn

func (*Mutation) GetDeleteFromFamily

func (m *Mutation) GetDeleteFromFamily() *Mutation_DeleteFromFamily

func (*Mutation) GetDeleteFromRow

func (m *Mutation) GetDeleteFromRow() *Mutation_DeleteFromRow

func (*Mutation) GetMutation

func (m *Mutation) GetMutation() isMutation_Mutation

func (*Mutation) GetSetCell

func (m *Mutation) GetSetCell() *Mutation_SetCell

func (*Mutation) ProtoMessage

func (*Mutation) ProtoMessage()

func (*Mutation) Reset

func (m *Mutation) Reset()

func (*Mutation) String

func (m *Mutation) String() string

func (*Mutation) XXX_OneofFuncs

func (*Mutation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type Mutation_DeleteFromColumn

type Mutation_DeleteFromColumn struct {
	// The name of the family from which cells should be deleted.
	// Must match [-_.a-zA-Z0-9]+
	FamilyName string `protobuf:"bytes,1,opt,name=family_name,json=familyName" json:"family_name,omitempty"`
	// The qualifier of the column from which cells should be deleted.
	// Can be any byte string, including the empty string.
	ColumnQualifier []byte `protobuf:"bytes,2,opt,name=column_qualifier,json=columnQualifier,proto3" json:"column_qualifier,omitempty"`
	// The range of timestamps within which cells should be deleted.
	TimeRange *TimestampRange `protobuf:"bytes,3,opt,name=time_range,json=timeRange" json:"time_range,omitempty"`
}

A Mutation which deletes cells from the specified column, optionally restricting the deletions to a given timestamp range.

func (*Mutation_DeleteFromColumn) Descriptor

func (*Mutation_DeleteFromColumn) Descriptor() ([]byte, []int)

func (*Mutation_DeleteFromColumn) GetColumnQualifier

func (m *Mutation_DeleteFromColumn) GetColumnQualifier() []byte

func (*Mutation_DeleteFromColumn) GetFamilyName

func (m *Mutation_DeleteFromColumn) GetFamilyName() string

func (*Mutation_DeleteFromColumn) GetTimeRange

func (m *Mutation_DeleteFromColumn) GetTimeRange() *TimestampRange

func (*Mutation_DeleteFromColumn) ProtoMessage

func (*Mutation_DeleteFromColumn) ProtoMessage()

func (*Mutation_DeleteFromColumn) Reset

func (m *Mutation_DeleteFromColumn) Reset()

func (*Mutation_DeleteFromColumn) String

func (m *Mutation_DeleteFromColumn) String() string

type Mutation_DeleteFromColumn_

type Mutation_DeleteFromColumn_ struct {
	DeleteFromColumn *Mutation_DeleteFromColumn `protobuf:"bytes,2,opt,name=delete_from_column,json=deleteFromColumn,oneof"`
}

type Mutation_DeleteFromFamily

type Mutation_DeleteFromFamily struct {
	// The name of the family from which cells should be deleted.
	// Must match [-_.a-zA-Z0-9]+
	FamilyName string `protobuf:"bytes,1,opt,name=family_name,json=familyName" json:"family_name,omitempty"`
}

A Mutation which deletes all cells from the specified column family.

func (*Mutation_DeleteFromFamily) Descriptor

func (*Mutation_DeleteFromFamily) Descriptor() ([]byte, []int)

func (*Mutation_DeleteFromFamily) GetFamilyName

func (m *Mutation_DeleteFromFamily) GetFamilyName() string

func (*Mutation_DeleteFromFamily) ProtoMessage

func (*Mutation_DeleteFromFamily) ProtoMessage()

func (*Mutation_DeleteFromFamily) Reset

func (m *Mutation_DeleteFromFamily) Reset()

func (*Mutation_DeleteFromFamily) String

func (m *Mutation_DeleteFromFamily) String() string

type Mutation_DeleteFromFamily_

type Mutation_DeleteFromFamily_ struct {
	DeleteFromFamily *Mutation_DeleteFromFamily `protobuf:"bytes,3,opt,name=delete_from_family,json=deleteFromFamily,oneof"`
}

type Mutation_DeleteFromRow

type Mutation_DeleteFromRow struct {
}

A Mutation which deletes all cells from the containing row.

func (*Mutation_DeleteFromRow) Descriptor

func (*Mutation_DeleteFromRow) Descriptor() ([]byte, []int)

func (*Mutation_DeleteFromRow) ProtoMessage

func (*Mutation_DeleteFromRow) ProtoMessage()

func (*Mutation_DeleteFromRow) Reset

func (m *Mutation_DeleteFromRow) Reset()

func (*Mutation_DeleteFromRow) String

func (m *Mutation_DeleteFromRow) String() string

type Mutation_DeleteFromRow_

type Mutation_DeleteFromRow_ struct {
	DeleteFromRow *Mutation_DeleteFromRow `protobuf:"bytes,4,opt,name=delete_from_row,json=deleteFromRow,oneof"`
}

type Mutation_SetCell

type Mutation_SetCell struct {
	// The name of the family into which new data should be written.
	// Must match [-_.a-zA-Z0-9]+
	FamilyName string `protobuf:"bytes,1,opt,name=family_name,json=familyName" json:"family_name,omitempty"`
	// The qualifier of the column into which new data should be written.
	// Can be any byte string, including the empty string.
	ColumnQualifier []byte `protobuf:"bytes,2,opt,name=column_qualifier,json=columnQualifier,proto3" json:"column_qualifier,omitempty"`
	// The timestamp of the cell into which new data should be written.
	// Use -1 for current Bigtable server time.
	// Otherwise, the client should set this value itself, noting that the
	// default value is a timestamp of zero if the field is left unspecified.
	// Values must match the "granularity" of the table (e.g. micros, millis).
	TimestampMicros int64 `protobuf:"varint,3,opt,name=timestamp_micros,json=timestampMicros" json:"timestamp_micros,omitempty"`
	// The value to be written into the specified cell.
	Value []byte `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
}

A Mutation which sets the value of the specified cell.

func (*Mutation_SetCell) Descriptor

func (*Mutation_SetCell) Descriptor() ([]byte, []int)

func (*Mutation_SetCell) GetColumnQualifier

func (m *Mutation_SetCell) GetColumnQualifier() []byte

func (*Mutation_SetCell) GetFamilyName

func (m *Mutation_SetCell) GetFamilyName() string

func (*Mutation_SetCell) GetTimestampMicros

func (m *Mutation_SetCell) GetTimestampMicros() int64

func (*Mutation_SetCell) GetValue

func (m *Mutation_SetCell) GetValue() []byte

func (*Mutation_SetCell) ProtoMessage

func (*Mutation_SetCell) ProtoMessage()

func (*Mutation_SetCell) Reset

func (m *Mutation_SetCell) Reset()

func (*Mutation_SetCell) String

func (m *Mutation_SetCell) String() string

type Mutation_SetCell_

type Mutation_SetCell_ struct {
	SetCell *Mutation_SetCell `protobuf:"bytes,1,opt,name=set_cell,json=setCell,oneof"`
}

type ReadModifyWriteRowRequest

type ReadModifyWriteRowRequest struct {
	// The unique name of the table to which the read/modify/write rules should be
	// applied.
	TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
	// The key of the row to which the read/modify/write rules should be applied.
	RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"`
	// Rules specifying how the specified row's contents are to be transformed
	// into writes. Entries are applied in order, meaning that earlier rules will
	// affect the results of later ones.
	Rules []*ReadModifyWriteRule `protobuf:"bytes,3,rep,name=rules" json:"rules,omitempty"`
}

Request message for BigtableService.ReadModifyWriteRowRequest.

func (*ReadModifyWriteRowRequest) Descriptor

func (*ReadModifyWriteRowRequest) Descriptor() ([]byte, []int)

func (*ReadModifyWriteRowRequest) GetRowKey

func (m *ReadModifyWriteRowRequest) GetRowKey() []byte

func (*ReadModifyWriteRowRequest) GetRules

func (*ReadModifyWriteRowRequest) GetTableName

func (m *ReadModifyWriteRowRequest) GetTableName() string

func (*ReadModifyWriteRowRequest) ProtoMessage

func (*ReadModifyWriteRowRequest) ProtoMessage()

func (*ReadModifyWriteRowRequest) Reset

func (m *ReadModifyWriteRowRequest) Reset()

func (*ReadModifyWriteRowRequest) String

func (m *ReadModifyWriteRowRequest) String() string

type ReadModifyWriteRule

type ReadModifyWriteRule struct {
	// The name of the family to which the read/modify/write should be applied.
	// Must match [-_.a-zA-Z0-9]+
	FamilyName string `protobuf:"bytes,1,opt,name=family_name,json=familyName" json:"family_name,omitempty"`
	// The qualifier of the column to which the read/modify/write should be
	// applied.
	// Can be any byte string, including the empty string.
	ColumnQualifier []byte `protobuf:"bytes,2,opt,name=column_qualifier,json=columnQualifier,proto3" json:"column_qualifier,omitempty"`
	// The rule used to determine the column's new latest value from its current
	// latest value.
	//
	// Types that are valid to be assigned to Rule:
	//	*ReadModifyWriteRule_AppendValue
	//	*ReadModifyWriteRule_IncrementAmount
	Rule isReadModifyWriteRule_Rule `protobuf_oneof:"rule"`
}

Specifies an atomic read/modify/write operation on the latest value of the specified column.

func (*ReadModifyWriteRule) Descriptor

func (*ReadModifyWriteRule) Descriptor() ([]byte, []int)

func (*ReadModifyWriteRule) GetAppendValue

func (m *ReadModifyWriteRule) GetAppendValue() []byte

func (*ReadModifyWriteRule) GetColumnQualifier

func (m *ReadModifyWriteRule) GetColumnQualifier() []byte

func (*ReadModifyWriteRule) GetFamilyName

func (m *ReadModifyWriteRule) GetFamilyName() string

func (*ReadModifyWriteRule) GetIncrementAmount

func (m *ReadModifyWriteRule) GetIncrementAmount() int64

func (*ReadModifyWriteRule) GetRule

func (m *ReadModifyWriteRule) GetRule() isReadModifyWriteRule_Rule

func (*ReadModifyWriteRule) ProtoMessage

func (*ReadModifyWriteRule) ProtoMessage()

func (*ReadModifyWriteRule) Reset

func (m *ReadModifyWriteRule) Reset()

func (*ReadModifyWriteRule) String

func (m *ReadModifyWriteRule) String() string

func (*ReadModifyWriteRule) XXX_OneofFuncs

func (*ReadModifyWriteRule) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type ReadModifyWriteRule_AppendValue

type ReadModifyWriteRule_AppendValue struct {
	AppendValue []byte `protobuf:"bytes,3,opt,name=append_value,json=appendValue,proto3,oneof"`
}

type ReadModifyWriteRule_IncrementAmount

type ReadModifyWriteRule_IncrementAmount struct {
	IncrementAmount int64 `protobuf:"varint,4,opt,name=increment_amount,json=incrementAmount,oneof"`
}

type ReadRowsRequest

type ReadRowsRequest struct {
	// The unique name of the table from which to read.
	TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
	// If neither row_key nor row_range is set, reads from all rows.
	//
	// Types that are valid to be assigned to Target:
	//	*ReadRowsRequest_RowKey
	//	*ReadRowsRequest_RowRange
	//	*ReadRowsRequest_RowSet
	Target isReadRowsRequest_Target `protobuf_oneof:"target"`
	// The filter to apply to the contents of the specified row(s). If unset,
	// reads the entire table.
	Filter *RowFilter `protobuf:"bytes,5,opt,name=filter" json:"filter,omitempty"`
	// By default, rows are read sequentially, producing results which are
	// guaranteed to arrive in increasing row order. Setting
	// "allow_row_interleaving" to true allows multiple rows to be interleaved in
	// the response stream, which increases throughput but breaks this guarantee,
	// and may force the client to use more memory to buffer partially-received
	// rows. Cannot be set to true when specifying "num_rows_limit".
	AllowRowInterleaving bool `protobuf:"varint,6,opt,name=allow_row_interleaving,json=allowRowInterleaving" json:"allow_row_interleaving,omitempty"`
	// The read will terminate after committing to N rows' worth of results. The
	// default (zero) is to return all results.
	// Note that "allow_row_interleaving" cannot be set to true when this is set.
	NumRowsLimit int64 `protobuf:"varint,7,opt,name=num_rows_limit,json=numRowsLimit" json:"num_rows_limit,omitempty"`
}

Request message for BigtableServer.ReadRows.

func (*ReadRowsRequest) Descriptor

func (*ReadRowsRequest) Descriptor() ([]byte, []int)

func (*ReadRowsRequest) GetAllowRowInterleaving

func (m *ReadRowsRequest) GetAllowRowInterleaving() bool

func (*ReadRowsRequest) GetFilter

func (m *ReadRowsRequest) GetFilter() *RowFilter

func (*ReadRowsRequest) GetNumRowsLimit

func (m *ReadRowsRequest) GetNumRowsLimit() int64

func (*ReadRowsRequest) GetRowKey

func (m *ReadRowsRequest) GetRowKey() []byte

func (*ReadRowsRequest) GetRowRange

func (m *ReadRowsRequest) GetRowRange() *RowRange

func (*ReadRowsRequest) GetRowSet

func (m *ReadRowsRequest) GetRowSet() *RowSet

func (*ReadRowsRequest) GetTableName

func (m *ReadRowsRequest) GetTableName() string

func (*ReadRowsRequest) GetTarget

func (m *ReadRowsRequest) GetTarget() isReadRowsRequest_Target

func (*ReadRowsRequest) ProtoMessage

func (*ReadRowsRequest) ProtoMessage()

func (*ReadRowsRequest) Reset

func (m *ReadRowsRequest) Reset()

func (*ReadRowsRequest) String

func (m *ReadRowsRequest) String() string

func (*ReadRowsRequest) XXX_OneofFuncs

func (*ReadRowsRequest) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type ReadRowsRequest_RowKey

type ReadRowsRequest_RowKey struct {
	RowKey []byte `protobuf:"bytes,2,opt,name=row_key,json=rowKey,proto3,oneof"`
}

type ReadRowsRequest_RowRange

type ReadRowsRequest_RowRange struct {
	RowRange *RowRange `protobuf:"bytes,3,opt,name=row_range,json=rowRange,oneof"`
}

type ReadRowsRequest_RowSet

type ReadRowsRequest_RowSet struct {
	RowSet *RowSet `protobuf:"bytes,8,opt,name=row_set,json=rowSet,oneof"`
}

type ReadRowsResponse

type ReadRowsResponse struct {
	// The key of the row for which we're receiving data.
	// Results will be received in increasing row key order, unless
	// "allow_row_interleaving" was specified in the request.
	RowKey []byte `protobuf:"bytes,1,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"`
	// One or more chunks of the row specified by "row_key".
	Chunks []*ReadRowsResponse_Chunk `protobuf:"bytes,2,rep,name=chunks" json:"chunks,omitempty"`
}

Response message for BigtableService.ReadRows.

func (*ReadRowsResponse) Descriptor

func (*ReadRowsResponse) Descriptor() ([]byte, []int)

func (*ReadRowsResponse) GetChunks

func (m *ReadRowsResponse) GetChunks() []*ReadRowsResponse_Chunk

func (*ReadRowsResponse) GetRowKey

func (m *ReadRowsResponse) GetRowKey() []byte

func (*ReadRowsResponse) ProtoMessage

func (*ReadRowsResponse) ProtoMessage()

func (*ReadRowsResponse) Reset

func (m *ReadRowsResponse) Reset()

func (*ReadRowsResponse) String

func (m *ReadRowsResponse) String() string

type ReadRowsResponse_Chunk

type ReadRowsResponse_Chunk struct {
	// Types that are valid to be assigned to Chunk:
	//	*ReadRowsResponse_Chunk_RowContents
	//	*ReadRowsResponse_Chunk_ResetRow
	//	*ReadRowsResponse_Chunk_CommitRow
	Chunk isReadRowsResponse_Chunk_Chunk `protobuf_oneof:"chunk"`
}

Specifies a piece of a row's contents returned as part of the read response stream.

func (*ReadRowsResponse_Chunk) Descriptor

func (*ReadRowsResponse_Chunk) Descriptor() ([]byte, []int)

func (*ReadRowsResponse_Chunk) GetChunk

func (m *ReadRowsResponse_Chunk) GetChunk() isReadRowsResponse_Chunk_Chunk

func (*ReadRowsResponse_Chunk) GetCommitRow

func (m *ReadRowsResponse_Chunk) GetCommitRow() bool

func (*ReadRowsResponse_Chunk) GetResetRow

func (m *ReadRowsResponse_Chunk) GetResetRow() bool

func (*ReadRowsResponse_Chunk) GetRowContents

func (m *ReadRowsResponse_Chunk) GetRowContents() *Family

func (*ReadRowsResponse_Chunk) ProtoMessage

func (*ReadRowsResponse_Chunk) ProtoMessage()

func (*ReadRowsResponse_Chunk) Reset

func (m *ReadRowsResponse_Chunk) Reset()

func (*ReadRowsResponse_Chunk) String

func (m *ReadRowsResponse_Chunk) String() string

func (*ReadRowsResponse_Chunk) XXX_OneofFuncs

func (*ReadRowsResponse_Chunk) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type ReadRowsResponse_Chunk_CommitRow

type ReadRowsResponse_Chunk_CommitRow struct {
	CommitRow bool `protobuf:"varint,3,opt,name=commit_row,json=commitRow,oneof"`
}

type ReadRowsResponse_Chunk_ResetRow

type ReadRowsResponse_Chunk_ResetRow struct {
	ResetRow bool `protobuf:"varint,2,opt,name=reset_row,json=resetRow,oneof"`
}

type ReadRowsResponse_Chunk_RowContents

type ReadRowsResponse_Chunk_RowContents struct {
	RowContents *Family `protobuf:"bytes,1,opt,name=row_contents,json=rowContents,oneof"`
}

type Row

type Row struct {
	// The unique key which identifies this row within its table. This is the same
	// key that's used to identify the row in, for example, a MutateRowRequest.
	// May contain any non-empty byte string up to 4KiB in length.
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// May be empty, but only if the entire row is empty.
	// The mutual ordering of column families is not specified.
	Families []*Family `protobuf:"bytes,2,rep,name=families" json:"families,omitempty"`
}

Specifies the complete (requested) contents of a single row of a table. Rows which exceed 256MiB in size cannot be read in full.

func (*Row) Descriptor

func (*Row) Descriptor() ([]byte, []int)

func (*Row) GetFamilies

func (m *Row) GetFamilies() []*Family

func (*Row) GetKey

func (m *Row) GetKey() []byte

func (*Row) ProtoMessage

func (*Row) ProtoMessage()

func (*Row) Reset

func (m *Row) Reset()

func (*Row) String

func (m *Row) String() string

type RowFilter

type RowFilter struct {
	// Which of the possible RowFilter types to apply. If none are set, this
	// RowFilter returns all cells in the input row.
	//
	// Types that are valid to be assigned to Filter:
	//	*RowFilter_Chain_
	//	*RowFilter_Interleave_
	//	*RowFilter_Condition_
	//	*RowFilter_Sink
	//	*RowFilter_PassAllFilter
	//	*RowFilter_BlockAllFilter
	//	*RowFilter_RowKeyRegexFilter
	//	*RowFilter_RowSampleFilter
	//	*RowFilter_FamilyNameRegexFilter
	//	*RowFilter_ColumnQualifierRegexFilter
	//	*RowFilter_ColumnRangeFilter
	//	*RowFilter_TimestampRangeFilter
	//	*RowFilter_ValueRegexFilter
	//	*RowFilter_ValueRangeFilter
	//	*RowFilter_CellsPerRowOffsetFilter
	//	*RowFilter_CellsPerRowLimitFilter
	//	*RowFilter_CellsPerColumnLimitFilter
	//	*RowFilter_StripValueTransformer
	//	*RowFilter_ApplyLabelTransformer
	Filter isRowFilter_Filter `protobuf_oneof:"filter"`
}

Takes a row as input and produces an alternate view of the row based on specified rules. For example, a RowFilter might trim down a row to include just the cells from columns matching a given regular expression, or might return all the cells of a row but not their values. More complicated filters can be composed out of these components to express requests such as, "within every column of a particular family, give just the two most recent cells which are older than timestamp X."

There are two broad categories of RowFilters (true filters and transformers), as well as two ways to compose simple filters into more complex ones (chains and interleaves). They work as follows:

* True filters alter the input row by excluding some of its cells wholesale from the output row. An example of a true filter is the "value_regex_filter", which excludes cells whose values don't match the specified pattern. All regex true filters use RE2 syntax (https://github.com/google/re2/wiki/Syntax) in raw byte mode (RE2::Latin1), and are evaluated as full matches. An important point to keep in mind is that RE2(.) is equivalent by default to RE2([^\n]), meaning that it does not match newlines. When attempting to match an arbitrary byte, you should therefore use the escape sequence '\C', which may need to be further escaped as '\\C' in your client language.

* Transformers alter the input row by changing the values of some of its cells in the output, without excluding them completely. Currently, the only supported transformer is the "strip_value_transformer", which replaces every cell's value with the empty string.

* Chains and interleaves are described in more detail in the RowFilter.Chain and RowFilter.Interleave documentation.

The total serialized size of a RowFilter message must not exceed 4096 bytes, and RowFilters may not be nested within each other (in Chains or Interleaves) to a depth of more than 20.

func (*RowFilter) Descriptor

func (*RowFilter) Descriptor() ([]byte, []int)

func (*RowFilter) GetApplyLabelTransformer

func (m *RowFilter) GetApplyLabelTransformer() string

func (*RowFilter) GetBlockAllFilter

func (m *RowFilter) GetBlockAllFilter() bool

func (*RowFilter) GetCellsPerColumnLimitFilter

func (m *RowFilter) GetCellsPerColumnLimitFilter() int32

func (*RowFilter) GetCellsPerRowLimitFilter

func (m *RowFilter) GetCellsPerRowLimitFilter() int32

func (*RowFilter) GetCellsPerRowOffsetFilter

func (m *RowFilter) GetCellsPerRowOffsetFilter() int32

func (*RowFilter) GetChain

func (m *RowFilter) GetChain() *RowFilter_Chain

func (*RowFilter) GetColumnQualifierRegexFilter

func (m *RowFilter) GetColumnQualifierRegexFilter() []byte

func (*RowFilter) GetColumnRangeFilter

func (m *RowFilter) GetColumnRangeFilter() *ColumnRange

func (*RowFilter) GetCondition

func (m *RowFilter) GetCondition() *RowFilter_Condition

func (*RowFilter) GetFamilyNameRegexFilter

func (m *RowFilter) GetFamilyNameRegexFilter() string

func (*RowFilter) GetFilter

func (m *RowFilter) GetFilter() isRowFilter_Filter

func (*RowFilter) GetInterleave

func (m *RowFilter) GetInterleave() *RowFilter_Interleave

func (*RowFilter) GetPassAllFilter

func (m *RowFilter) GetPassAllFilter() bool

func (*RowFilter) GetRowKeyRegexFilter

func (m *RowFilter) GetRowKeyRegexFilter() []byte

func (*RowFilter) GetRowSampleFilter

func (m *RowFilter) GetRowSampleFilter() float64

func (*RowFilter) GetSink

func (m *RowFilter) GetSink() bool

func (*RowFilter) GetStripValueTransformer

func (m *RowFilter) GetStripValueTransformer() bool

func (*RowFilter) GetTimestampRangeFilter

func (m *RowFilter) GetTimestampRangeFilter() *TimestampRange

func (*RowFilter) GetValueRangeFilter

func (m *RowFilter) GetValueRangeFilter() *ValueRange

func (*RowFilter) GetValueRegexFilter

func (m *RowFilter) GetValueRegexFilter() []byte

func (*RowFilter) ProtoMessage

func (*RowFilter) ProtoMessage()

func (*RowFilter) Reset

func (m *RowFilter) Reset()

func (*RowFilter) String

func (m *RowFilter) String() string

func (*RowFilter) XXX_OneofFuncs

func (*RowFilter) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type RowFilter_ApplyLabelTransformer

type RowFilter_ApplyLabelTransformer struct {
	ApplyLabelTransformer string `protobuf:"bytes,19,opt,name=apply_label_transformer,json=applyLabelTransformer,oneof"`
}

type RowFilter_BlockAllFilter

type RowFilter_BlockAllFilter struct {
	BlockAllFilter bool `protobuf:"varint,18,opt,name=block_all_filter,json=blockAllFilter,oneof"`
}

type RowFilter_CellsPerColumnLimitFilter

type RowFilter_CellsPerColumnLimitFilter struct {
	CellsPerColumnLimitFilter int32 `protobuf:"varint,12,opt,name=cells_per_column_limit_filter,json=cellsPerColumnLimitFilter,oneof"`
}

type RowFilter_CellsPerRowLimitFilter

type RowFilter_CellsPerRowLimitFilter struct {
	CellsPerRowLimitFilter int32 `protobuf:"varint,11,opt,name=cells_per_row_limit_filter,json=cellsPerRowLimitFilter,oneof"`
}

type RowFilter_CellsPerRowOffsetFilter

type RowFilter_CellsPerRowOffsetFilter struct {
	CellsPerRowOffsetFilter int32 `protobuf:"varint,10,opt,name=cells_per_row_offset_filter,json=cellsPerRowOffsetFilter,oneof"`
}

type RowFilter_Chain

type RowFilter_Chain struct {
	// The elements of "filters" are chained together to process the input row:
	// in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row
	// The full chain is executed atomically.
	Filters []*RowFilter `protobuf:"bytes,1,rep,name=filters" json:"filters,omitempty"`
}

A RowFilter which sends rows through several RowFilters in sequence.

func (*RowFilter_Chain) Descriptor

func (*RowFilter_Chain) Descriptor() ([]byte, []int)

func (*RowFilter_Chain) GetFilters

func (m *RowFilter_Chain) GetFilters() []*RowFilter

func (*RowFilter_Chain) ProtoMessage

func (*RowFilter_Chain) ProtoMessage()

func (*RowFilter_Chain) Reset

func (m *RowFilter_Chain) Reset()

func (*RowFilter_Chain) String

func (m *RowFilter_Chain) String() string

type RowFilter_Chain_

type RowFilter_Chain_ struct {
	Chain *RowFilter_Chain `protobuf:"bytes,1,opt,name=chain,oneof"`
}

type RowFilter_ColumnQualifierRegexFilter

type RowFilter_ColumnQualifierRegexFilter struct {
	ColumnQualifierRegexFilter []byte `protobuf:"bytes,6,opt,name=column_qualifier_regex_filter,json=columnQualifierRegexFilter,proto3,oneof"`
}

type RowFilter_ColumnRangeFilter

type RowFilter_ColumnRangeFilter struct {
	ColumnRangeFilter *ColumnRange `protobuf:"bytes,7,opt,name=column_range_filter,json=columnRangeFilter,oneof"`
}

type RowFilter_Condition

type RowFilter_Condition struct {
	// If "predicate_filter" outputs any cells, then "true_filter" will be
	// evaluated on the input row. Otherwise, "false_filter" will be evaluated.
	PredicateFilter *RowFilter `protobuf:"bytes,1,opt,name=predicate_filter,json=predicateFilter" json:"predicate_filter,omitempty"`
	// 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.
	TrueFilter *RowFilter `protobuf:"bytes,2,opt,name=true_filter,json=trueFilter" json:"true_filter,omitempty"`
	// 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.
	FalseFilter *RowFilter `protobuf:"bytes,3,opt,name=false_filter,json=falseFilter" json:"false_filter,omitempty"`
}

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.

func (*RowFilter_Condition) Descriptor

func (*RowFilter_Condition) Descriptor() ([]byte, []int)

func (*RowFilter_Condition) GetFalseFilter

func (m *RowFilter_Condition) GetFalseFilter() *RowFilter

func (*RowFilter_Condition) GetPredicateFilter

func (m *RowFilter_Condition) GetPredicateFilter() *RowFilter

func (*RowFilter_Condition) GetTrueFilter

func (m *RowFilter_Condition) GetTrueFilter() *RowFilter

func (*RowFilter_Condition) ProtoMessage

func (*RowFilter_Condition) ProtoMessage()

func (*RowFilter_Condition) Reset

func (m *RowFilter_Condition) Reset()

func (*RowFilter_Condition) String

func (m *RowFilter_Condition) String() string

type RowFilter_Condition_

type RowFilter_Condition_ struct {
	Condition *RowFilter_Condition `protobuf:"bytes,3,opt,name=condition,oneof"`
}

type RowFilter_FamilyNameRegexFilter

type RowFilter_FamilyNameRegexFilter struct {
	FamilyNameRegexFilter string `protobuf:"bytes,5,opt,name=family_name_regex_filter,json=familyNameRegexFilter,oneof"`
}

type RowFilter_Interleave

type RowFilter_Interleave struct {
	// The elements of "filters" all process a copy of the input row, and the
	// results are pooled, sorted, and combined into a single output row.
	// If multiple cells are produced with the same column and timestamp,
	// they will all appear in the output row in an unspecified mutual order.
	// Consider the following example, with three filters:
	//
	//                              input row
	//                                  |
	//        -----------------------------------------------------
	//        |                         |                         |
	//       f(0)                      f(1)                      f(2)
	//        |                         |                         |
	// 1: foo,bar,10,x             foo,bar,10,z              far,bar,7,a
	// 2: foo,blah,11,z            far,blah,5,x              far,blah,5,x
	//        |                         |                         |
	//        -----------------------------------------------------
	//                                  |
	// 1:                        foo,bar,10,z     // could have switched with #2
	// 2:                        foo,bar,10,x     // could have switched with #1
	// 3:                        foo,blah,11,z
	// 4:                        far,bar,7,a
	// 5:                        far,blah,5,x     // identical to #6
	// 6:                        far,blah,5,x     // identical to #5
	// All interleaved filters are executed atomically.
	Filters []*RowFilter `protobuf:"bytes,1,rep,name=filters" json:"filters,omitempty"`
}

A RowFilter which sends each row to each of several component RowFilters and interleaves the results.

func (*RowFilter_Interleave) Descriptor

func (*RowFilter_Interleave) Descriptor() ([]byte, []int)

func (*RowFilter_Interleave) GetFilters

func (m *RowFilter_Interleave) GetFilters() []*RowFilter

func (*RowFilter_Interleave) ProtoMessage

func (*RowFilter_Interleave) ProtoMessage()

func (*RowFilter_Interleave) Reset

func (m *RowFilter_Interleave) Reset()

func (*RowFilter_Interleave) String

func (m *RowFilter_Interleave) String() string

type RowFilter_Interleave_

type RowFilter_Interleave_ struct {
	Interleave *RowFilter_Interleave `protobuf:"bytes,2,opt,name=interleave,oneof"`
}

type RowFilter_PassAllFilter

type RowFilter_PassAllFilter struct {
	PassAllFilter bool `protobuf:"varint,17,opt,name=pass_all_filter,json=passAllFilter,oneof"`
}

type RowFilter_RowKeyRegexFilter

type RowFilter_RowKeyRegexFilter struct {
	RowKeyRegexFilter []byte `protobuf:"bytes,4,opt,name=row_key_regex_filter,json=rowKeyRegexFilter,proto3,oneof"`
}

type RowFilter_RowSampleFilter

type RowFilter_RowSampleFilter struct {
	RowSampleFilter float64 `protobuf:"fixed64,14,opt,name=row_sample_filter,json=rowSampleFilter,oneof"`
}

type RowFilter_Sink

type RowFilter_Sink struct {
	Sink bool `protobuf:"varint,16,opt,name=sink,oneof"`
}

type RowFilter_StripValueTransformer

type RowFilter_StripValueTransformer struct {
	StripValueTransformer bool `protobuf:"varint,13,opt,name=strip_value_transformer,json=stripValueTransformer,oneof"`
}

type RowFilter_TimestampRangeFilter

type RowFilter_TimestampRangeFilter struct {
	TimestampRangeFilter *TimestampRange `protobuf:"bytes,8,opt,name=timestamp_range_filter,json=timestampRangeFilter,oneof"`
}

type RowFilter_ValueRangeFilter

type RowFilter_ValueRangeFilter struct {
	ValueRangeFilter *ValueRange `protobuf:"bytes,15,opt,name=value_range_filter,json=valueRangeFilter,oneof"`
}

type RowFilter_ValueRegexFilter

type RowFilter_ValueRegexFilter struct {
	ValueRegexFilter []byte `protobuf:"bytes,9,opt,name=value_regex_filter,json=valueRegexFilter,proto3,oneof"`
}

type RowRange

type RowRange struct {
	// Inclusive lower bound. If left empty, interpreted as the empty string.
	StartKey []byte `protobuf:"bytes,2,opt,name=start_key,json=startKey,proto3" json:"start_key,omitempty"`
	// Exclusive upper bound. If left empty, interpreted as infinity.
	EndKey []byte `protobuf:"bytes,3,opt,name=end_key,json=endKey,proto3" json:"end_key,omitempty"`
}

Specifies a contiguous range of rows.

func (*RowRange) Descriptor

func (*RowRange) Descriptor() ([]byte, []int)

func (*RowRange) GetEndKey

func (m *RowRange) GetEndKey() []byte

func (*RowRange) GetStartKey

func (m *RowRange) GetStartKey() []byte

func (*RowRange) ProtoMessage

func (*RowRange) ProtoMessage()

func (*RowRange) Reset

func (m *RowRange) Reset()

func (*RowRange) String

func (m *RowRange) String() string

type RowSet

type RowSet struct {
	// Single rows included in the set.
	RowKeys [][]byte `protobuf:"bytes,1,rep,name=row_keys,json=rowKeys,proto3" json:"row_keys,omitempty"`
	// Contiguous row ranges included in the set.
	RowRanges []*RowRange `protobuf:"bytes,2,rep,name=row_ranges,json=rowRanges" json:"row_ranges,omitempty"`
}

Specifies a non-contiguous set of rows.

func (*RowSet) Descriptor

func (*RowSet) Descriptor() ([]byte, []int)

func (*RowSet) GetRowKeys

func (m *RowSet) GetRowKeys() [][]byte

func (*RowSet) GetRowRanges

func (m *RowSet) GetRowRanges() []*RowRange

func (*RowSet) ProtoMessage

func (*RowSet) ProtoMessage()

func (*RowSet) Reset

func (m *RowSet) Reset()

func (*RowSet) String

func (m *RowSet) String() string

type SampleRowKeysRequest

type SampleRowKeysRequest struct {
	// The unique name of the table from which to sample row keys.
	TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"`
}

Request message for BigtableService.SampleRowKeys.

func (*SampleRowKeysRequest) Descriptor

func (*SampleRowKeysRequest) Descriptor() ([]byte, []int)

func (*SampleRowKeysRequest) GetTableName

func (m *SampleRowKeysRequest) GetTableName() string

func (*SampleRowKeysRequest) ProtoMessage

func (*SampleRowKeysRequest) ProtoMessage()

func (*SampleRowKeysRequest) Reset

func (m *SampleRowKeysRequest) Reset()

func (*SampleRowKeysRequest) String

func (m *SampleRowKeysRequest) String() string

type SampleRowKeysResponse

type SampleRowKeysResponse struct {
	// Sorted streamed sequence of sample row keys in the table. The table might
	// have contents before the first row key in the list and after the last one,
	// but a key containing the empty string indicates "end of table" and will be
	// the last response given, if present.
	// Note that row keys in this list may not have ever been written to or read
	// from, and users should therefore not make any assumptions about the row key
	// structure that are specific to their use case.
	RowKey []byte `protobuf:"bytes,1,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"`
	// Approximate total storage space used by all rows in the table which precede
	// "row_key". Buffering the contents of all rows between two subsequent
	// samples would require space roughly equal to the difference in their
	// "offset_bytes" fields.
	OffsetBytes int64 `protobuf:"varint,2,opt,name=offset_bytes,json=offsetBytes" json:"offset_bytes,omitempty"`
}

Response message for BigtableService.SampleRowKeys.

func (*SampleRowKeysResponse) Descriptor

func (*SampleRowKeysResponse) Descriptor() ([]byte, []int)

func (*SampleRowKeysResponse) GetOffsetBytes

func (m *SampleRowKeysResponse) GetOffsetBytes() int64

func (*SampleRowKeysResponse) GetRowKey

func (m *SampleRowKeysResponse) GetRowKey() []byte

func (*SampleRowKeysResponse) ProtoMessage

func (*SampleRowKeysResponse) ProtoMessage()

func (*SampleRowKeysResponse) Reset

func (m *SampleRowKeysResponse) Reset()

func (*SampleRowKeysResponse) String

func (m *SampleRowKeysResponse) String() string

type TimestampRange

type TimestampRange struct {
	// Inclusive lower bound. If left empty, interpreted as 0.
	StartTimestampMicros int64 `protobuf:"varint,1,opt,name=start_timestamp_micros,json=startTimestampMicros" json:"start_timestamp_micros,omitempty"`
	// Exclusive upper bound. If left empty, interpreted as infinity.
	EndTimestampMicros int64 `protobuf:"varint,2,opt,name=end_timestamp_micros,json=endTimestampMicros" json:"end_timestamp_micros,omitempty"`
}

Specified a contiguous range of microsecond timestamps.

func (*TimestampRange) Descriptor

func (*TimestampRange) Descriptor() ([]byte, []int)

func (*TimestampRange) GetEndTimestampMicros

func (m *TimestampRange) GetEndTimestampMicros() int64

func (*TimestampRange) GetStartTimestampMicros

func (m *TimestampRange) GetStartTimestampMicros() int64

func (*TimestampRange) ProtoMessage

func (*TimestampRange) ProtoMessage()

func (*TimestampRange) Reset

func (m *TimestampRange) Reset()

func (*TimestampRange) String

func (m *TimestampRange) String() string

type ValueRange

type ValueRange struct {
	// The value at which to start the range.
	// If neither field is set, interpreted as the empty string, inclusive.
	//
	// Types that are valid to be assigned to StartValue:
	//	*ValueRange_StartValueInclusive
	//	*ValueRange_StartValueExclusive
	StartValue isValueRange_StartValue `protobuf_oneof:"start_value"`
	// The value at which to end the range.
	// If neither field is set, interpreted as the infinite string, exclusive.
	//
	// Types that are valid to be assigned to EndValue:
	//	*ValueRange_EndValueInclusive
	//	*ValueRange_EndValueExclusive
	EndValue isValueRange_EndValue `protobuf_oneof:"end_value"`
}

Specifies a contiguous range of raw byte values.

func (*ValueRange) Descriptor

func (*ValueRange) Descriptor() ([]byte, []int)

func (*ValueRange) GetEndValue

func (m *ValueRange) GetEndValue() isValueRange_EndValue

func (*ValueRange) GetEndValueExclusive

func (m *ValueRange) GetEndValueExclusive() []byte

func (*ValueRange) GetEndValueInclusive

func (m *ValueRange) GetEndValueInclusive() []byte

func (*ValueRange) GetStartValue

func (m *ValueRange) GetStartValue() isValueRange_StartValue

func (*ValueRange) GetStartValueExclusive

func (m *ValueRange) GetStartValueExclusive() []byte

func (*ValueRange) GetStartValueInclusive

func (m *ValueRange) GetStartValueInclusive() []byte

func (*ValueRange) ProtoMessage

func (*ValueRange) ProtoMessage()

func (*ValueRange) Reset

func (m *ValueRange) Reset()

func (*ValueRange) String

func (m *ValueRange) String() string

func (*ValueRange) XXX_OneofFuncs

func (*ValueRange) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type ValueRange_EndValueExclusive

type ValueRange_EndValueExclusive struct {
	EndValueExclusive []byte `protobuf:"bytes,4,opt,name=end_value_exclusive,json=endValueExclusive,proto3,oneof"`
}

type ValueRange_EndValueInclusive

type ValueRange_EndValueInclusive struct {
	EndValueInclusive []byte `protobuf:"bytes,3,opt,name=end_value_inclusive,json=endValueInclusive,proto3,oneof"`
}

type ValueRange_StartValueExclusive

type ValueRange_StartValueExclusive struct {
	StartValueExclusive []byte `protobuf:"bytes,2,opt,name=start_value_exclusive,json=startValueExclusive,proto3,oneof"`
}

type ValueRange_StartValueInclusive

type ValueRange_StartValueInclusive struct {
	StartValueInclusive []byte `protobuf:"bytes,1,opt,name=start_value_inclusive,json=startValueInclusive,proto3,oneof"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL