Documentation ¶
Overview ¶
Package bigtable is a generated protocol buffer package.
It is generated from these files:
google/bigtable/v2/bigtable.proto google/bigtable/v2/data.proto
It has these top-level messages:
ReadRowsRequest ReadRowsResponse SampleRowKeysRequest SampleRowKeysResponse MutateRowRequest MutateRowResponse MutateRowsRequest MutateRowsResponse CheckAndMutateRowRequest CheckAndMutateRowResponse ReadModifyWriteRowRequest ReadModifyWriteRowResponse Row Family Column Cell RowRange RowSet ColumnRange TimestampRange ValueRange RowFilter Mutation ReadModifyWriteRule
Index ¶
- func RegisterBigtableServer(s *grpc.Server, srv BigtableServer)
- type BigtableClient
- type BigtableServer
- type Bigtable_MutateRowsClient
- type Bigtable_MutateRowsServer
- type Bigtable_ReadRowsClient
- type Bigtable_ReadRowsServer
- type Bigtable_SampleRowKeysClient
- type Bigtable_SampleRowKeysServer
- type Cell
- type CheckAndMutateRowRequest
- func (*CheckAndMutateRowRequest) Descriptor() ([]byte, []int)
- func (m *CheckAndMutateRowRequest) GetAppProfileId() string
- func (m *CheckAndMutateRowRequest) GetFalseMutations() []*Mutation
- func (m *CheckAndMutateRowRequest) GetPredicateFilter() *RowFilter
- func (m *CheckAndMutateRowRequest) GetRowKey() []byte
- func (m *CheckAndMutateRowRequest) GetTableName() string
- func (m *CheckAndMutateRowRequest) GetTrueMutations() []*Mutation
- func (*CheckAndMutateRowRequest) ProtoMessage()
- func (m *CheckAndMutateRowRequest) Reset()
- func (m *CheckAndMutateRowRequest) String() string
- type CheckAndMutateRowResponse
- type Column
- type ColumnRange
- func (*ColumnRange) Descriptor() ([]byte, []int)
- func (m *ColumnRange) GetEndQualifier() isColumnRange_EndQualifier
- func (m *ColumnRange) GetEndQualifierClosed() []byte
- func (m *ColumnRange) GetEndQualifierOpen() []byte
- func (m *ColumnRange) GetFamilyName() string
- func (m *ColumnRange) GetStartQualifier() isColumnRange_StartQualifier
- func (m *ColumnRange) GetStartQualifierClosed() []byte
- func (m *ColumnRange) GetStartQualifierOpen() []byte
- func (*ColumnRange) ProtoMessage()
- func (m *ColumnRange) Reset()
- func (m *ColumnRange) String() string
- func (*ColumnRange) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type ColumnRange_EndQualifierClosed
- type ColumnRange_EndQualifierOpen
- type ColumnRange_StartQualifierClosed
- type ColumnRange_StartQualifierOpen
- type Family
- type MutateRowRequest
- func (*MutateRowRequest) Descriptor() ([]byte, []int)
- func (m *MutateRowRequest) GetAppProfileId() string
- func (m *MutateRowRequest) GetMutations() []*Mutation
- func (m *MutateRowRequest) GetRowKey() []byte
- func (m *MutateRowRequest) GetTableName() string
- func (*MutateRowRequest) ProtoMessage()
- func (m *MutateRowRequest) Reset()
- func (m *MutateRowRequest) String() string
- type MutateRowResponse
- type MutateRowsRequest
- func (*MutateRowsRequest) Descriptor() ([]byte, []int)
- func (m *MutateRowsRequest) GetAppProfileId() string
- func (m *MutateRowsRequest) GetEntries() []*MutateRowsRequest_Entry
- func (m *MutateRowsRequest) GetTableName() string
- func (*MutateRowsRequest) ProtoMessage()
- func (m *MutateRowsRequest) Reset()
- func (m *MutateRowsRequest) String() string
- type MutateRowsRequest_Entry
- func (*MutateRowsRequest_Entry) Descriptor() ([]byte, []int)
- func (m *MutateRowsRequest_Entry) GetMutations() []*Mutation
- func (m *MutateRowsRequest_Entry) GetRowKey() []byte
- func (*MutateRowsRequest_Entry) ProtoMessage()
- func (m *MutateRowsRequest_Entry) Reset()
- func (m *MutateRowsRequest_Entry) String() string
- type MutateRowsResponse
- type MutateRowsResponse_Entry
- func (*MutateRowsResponse_Entry) Descriptor() ([]byte, []int)
- func (m *MutateRowsResponse_Entry) GetIndex() int64
- func (m *MutateRowsResponse_Entry) GetStatus() *google_rpc.Status
- func (*MutateRowsResponse_Entry) ProtoMessage()
- func (m *MutateRowsResponse_Entry) Reset()
- func (m *MutateRowsResponse_Entry) String() string
- type Mutation
- func (*Mutation) Descriptor() ([]byte, []int)
- func (m *Mutation) GetDeleteFromColumn() *Mutation_DeleteFromColumn
- func (m *Mutation) GetDeleteFromFamily() *Mutation_DeleteFromFamily
- func (m *Mutation) GetDeleteFromRow() *Mutation_DeleteFromRow
- func (m *Mutation) GetMutation() isMutation_Mutation
- func (m *Mutation) GetSetCell() *Mutation_SetCell
- func (*Mutation) ProtoMessage()
- func (m *Mutation) Reset()
- func (m *Mutation) String() string
- func (*Mutation) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type Mutation_DeleteFromColumn
- func (*Mutation_DeleteFromColumn) Descriptor() ([]byte, []int)
- func (m *Mutation_DeleteFromColumn) GetColumnQualifier() []byte
- func (m *Mutation_DeleteFromColumn) GetFamilyName() string
- func (m *Mutation_DeleteFromColumn) GetTimeRange() *TimestampRange
- func (*Mutation_DeleteFromColumn) ProtoMessage()
- func (m *Mutation_DeleteFromColumn) Reset()
- func (m *Mutation_DeleteFromColumn) String() string
- type Mutation_DeleteFromColumn_
- type Mutation_DeleteFromFamily
- type Mutation_DeleteFromFamily_
- type Mutation_DeleteFromRow
- type Mutation_DeleteFromRow_
- type Mutation_SetCell
- func (*Mutation_SetCell) Descriptor() ([]byte, []int)
- func (m *Mutation_SetCell) GetColumnQualifier() []byte
- func (m *Mutation_SetCell) GetFamilyName() string
- func (m *Mutation_SetCell) GetTimestampMicros() int64
- func (m *Mutation_SetCell) GetValue() []byte
- func (*Mutation_SetCell) ProtoMessage()
- func (m *Mutation_SetCell) Reset()
- func (m *Mutation_SetCell) String() string
- type Mutation_SetCell_
- type ReadModifyWriteRowRequest
- func (*ReadModifyWriteRowRequest) Descriptor() ([]byte, []int)
- func (m *ReadModifyWriteRowRequest) GetAppProfileId() string
- func (m *ReadModifyWriteRowRequest) GetRowKey() []byte
- func (m *ReadModifyWriteRowRequest) GetRules() []*ReadModifyWriteRule
- func (m *ReadModifyWriteRowRequest) GetTableName() string
- func (*ReadModifyWriteRowRequest) ProtoMessage()
- func (m *ReadModifyWriteRowRequest) Reset()
- func (m *ReadModifyWriteRowRequest) String() string
- type ReadModifyWriteRowResponse
- type ReadModifyWriteRule
- func (*ReadModifyWriteRule) Descriptor() ([]byte, []int)
- func (m *ReadModifyWriteRule) GetAppendValue() []byte
- func (m *ReadModifyWriteRule) GetColumnQualifier() []byte
- func (m *ReadModifyWriteRule) GetFamilyName() string
- func (m *ReadModifyWriteRule) GetIncrementAmount() int64
- func (m *ReadModifyWriteRule) GetRule() isReadModifyWriteRule_Rule
- func (*ReadModifyWriteRule) ProtoMessage()
- func (m *ReadModifyWriteRule) Reset()
- func (m *ReadModifyWriteRule) String() string
- func (*ReadModifyWriteRule) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type ReadModifyWriteRule_AppendValue
- type ReadModifyWriteRule_IncrementAmount
- type ReadRowsRequest
- func (*ReadRowsRequest) Descriptor() ([]byte, []int)
- func (m *ReadRowsRequest) GetAppProfileId() string
- func (m *ReadRowsRequest) GetFilter() *RowFilter
- func (m *ReadRowsRequest) GetRows() *RowSet
- func (m *ReadRowsRequest) GetRowsLimit() int64
- func (m *ReadRowsRequest) GetTableName() string
- func (*ReadRowsRequest) ProtoMessage()
- func (m *ReadRowsRequest) Reset()
- func (m *ReadRowsRequest) String() string
- type ReadRowsResponse
- type ReadRowsResponse_CellChunk
- func (*ReadRowsResponse_CellChunk) Descriptor() ([]byte, []int)
- func (m *ReadRowsResponse_CellChunk) GetCommitRow() bool
- func (m *ReadRowsResponse_CellChunk) GetFamilyName() *google_protobuf1.StringValue
- func (m *ReadRowsResponse_CellChunk) GetLabels() []string
- func (m *ReadRowsResponse_CellChunk) GetQualifier() *google_protobuf1.BytesValue
- func (m *ReadRowsResponse_CellChunk) GetResetRow() bool
- func (m *ReadRowsResponse_CellChunk) GetRowKey() []byte
- func (m *ReadRowsResponse_CellChunk) GetRowStatus() isReadRowsResponse_CellChunk_RowStatus
- func (m *ReadRowsResponse_CellChunk) GetTimestampMicros() int64
- func (m *ReadRowsResponse_CellChunk) GetValue() []byte
- func (m *ReadRowsResponse_CellChunk) GetValueSize() int32
- func (*ReadRowsResponse_CellChunk) ProtoMessage()
- func (m *ReadRowsResponse_CellChunk) Reset()
- func (m *ReadRowsResponse_CellChunk) String() string
- func (*ReadRowsResponse_CellChunk) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type ReadRowsResponse_CellChunk_CommitRow
- type ReadRowsResponse_CellChunk_ResetRow
- type Row
- type RowFilter
- func (*RowFilter) Descriptor() ([]byte, []int)
- func (m *RowFilter) GetApplyLabelTransformer() string
- func (m *RowFilter) GetBlockAllFilter() bool
- func (m *RowFilter) GetCellsPerColumnLimitFilter() int32
- func (m *RowFilter) GetCellsPerRowLimitFilter() int32
- func (m *RowFilter) GetCellsPerRowOffsetFilter() int32
- func (m *RowFilter) GetChain() *RowFilter_Chain
- func (m *RowFilter) GetColumnQualifierRegexFilter() []byte
- func (m *RowFilter) GetColumnRangeFilter() *ColumnRange
- func (m *RowFilter) GetCondition() *RowFilter_Condition
- func (m *RowFilter) GetFamilyNameRegexFilter() string
- func (m *RowFilter) GetFilter() isRowFilter_Filter
- func (m *RowFilter) GetInterleave() *RowFilter_Interleave
- func (m *RowFilter) GetPassAllFilter() bool
- func (m *RowFilter) GetRowKeyRegexFilter() []byte
- func (m *RowFilter) GetRowSampleFilter() float64
- func (m *RowFilter) GetSink() bool
- func (m *RowFilter) GetStripValueTransformer() bool
- func (m *RowFilter) GetTimestampRangeFilter() *TimestampRange
- func (m *RowFilter) GetValueRangeFilter() *ValueRange
- func (m *RowFilter) GetValueRegexFilter() []byte
- func (*RowFilter) ProtoMessage()
- func (m *RowFilter) Reset()
- func (m *RowFilter) String() string
- func (*RowFilter) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type RowFilter_ApplyLabelTransformer
- type RowFilter_BlockAllFilter
- type RowFilter_CellsPerColumnLimitFilter
- type RowFilter_CellsPerRowLimitFilter
- type RowFilter_CellsPerRowOffsetFilter
- type RowFilter_Chain
- type RowFilter_Chain_
- type RowFilter_ColumnQualifierRegexFilter
- type RowFilter_ColumnRangeFilter
- type RowFilter_Condition
- func (*RowFilter_Condition) Descriptor() ([]byte, []int)
- func (m *RowFilter_Condition) GetFalseFilter() *RowFilter
- func (m *RowFilter_Condition) GetPredicateFilter() *RowFilter
- func (m *RowFilter_Condition) GetTrueFilter() *RowFilter
- func (*RowFilter_Condition) ProtoMessage()
- func (m *RowFilter_Condition) Reset()
- func (m *RowFilter_Condition) String() string
- type RowFilter_Condition_
- type RowFilter_FamilyNameRegexFilter
- type RowFilter_Interleave
- type RowFilter_Interleave_
- type RowFilter_PassAllFilter
- type RowFilter_RowKeyRegexFilter
- type RowFilter_RowSampleFilter
- type RowFilter_Sink
- type RowFilter_StripValueTransformer
- type RowFilter_TimestampRangeFilter
- type RowFilter_ValueRangeFilter
- type RowFilter_ValueRegexFilter
- type RowRange
- func (*RowRange) Descriptor() ([]byte, []int)
- func (m *RowRange) GetEndKey() isRowRange_EndKey
- func (m *RowRange) GetEndKeyClosed() []byte
- func (m *RowRange) GetEndKeyOpen() []byte
- func (m *RowRange) GetStartKey() isRowRange_StartKey
- func (m *RowRange) GetStartKeyClosed() []byte
- func (m *RowRange) GetStartKeyOpen() []byte
- func (*RowRange) ProtoMessage()
- func (m *RowRange) Reset()
- func (m *RowRange) String() string
- func (*RowRange) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type RowRange_EndKeyClosed
- type RowRange_EndKeyOpen
- type RowRange_StartKeyClosed
- type RowRange_StartKeyOpen
- type RowSet
- type SampleRowKeysRequest
- type SampleRowKeysResponse
- type TimestampRange
- type ValueRange
- func (*ValueRange) Descriptor() ([]byte, []int)
- func (m *ValueRange) GetEndValue() isValueRange_EndValue
- func (m *ValueRange) GetEndValueClosed() []byte
- func (m *ValueRange) GetEndValueOpen() []byte
- func (m *ValueRange) GetStartValue() isValueRange_StartValue
- func (m *ValueRange) GetStartValueClosed() []byte
- func (m *ValueRange) GetStartValueOpen() []byte
- func (*ValueRange) ProtoMessage()
- func (m *ValueRange) Reset()
- func (m *ValueRange) String() string
- func (*ValueRange) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type ValueRange_EndValueClosed
- type ValueRange_EndValueOpen
- type ValueRange_StartValueClosed
- type ValueRange_StartValueOpen
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterBigtableServer ¶
func RegisterBigtableServer(s *grpc.Server, srv BigtableServer)
Types ¶
type BigtableClient ¶
type BigtableClient interface { // Streams back the contents of all requested rows in key order, optionally // applying the same Reader filter to each. Depending on their size, // rows and cells may be broken up across multiple responses, but // atomicity of each row will still be preserved. See the // ReadRowsResponse documentation for details. ReadRows(ctx context.Context, in *ReadRowsRequest, opts ...grpc.CallOption) (Bigtable_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) (Bigtable_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) (*MutateRowResponse, 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) (Bigtable_MutateRowsClient, 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 on the server. The method reads the latest // existing timestamp and value from the specified columns and writes a new // entry based on pre-defined read/modify/write rules. The new value for the // timestamp is the greater of the existing timestamp or the current server // time. The method returns the new contents of all modified cells. ReadModifyWriteRow(ctx context.Context, in *ReadModifyWriteRowRequest, opts ...grpc.CallOption) (*ReadModifyWriteRowResponse, error) }
func NewBigtableClient ¶
func NewBigtableClient(cc *grpc.ClientConn) BigtableClient
type BigtableServer ¶
type BigtableServer interface { // Streams back the contents of all requested rows in key order, optionally // applying the same Reader filter to each. Depending on their size, // rows and cells may be broken up across multiple responses, but // atomicity of each row will still be preserved. See the // ReadRowsResponse documentation for details. ReadRows(*ReadRowsRequest, Bigtable_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, Bigtable_SampleRowKeysServer) error // Mutates a row atomically. Cells already present in the row are left // unchanged unless explicitly changed by `mutation`. MutateRow(context.Context, *MutateRowRequest) (*MutateRowResponse, 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(*MutateRowsRequest, Bigtable_MutateRowsServer) error // Mutates a row atomically based on the output of a predicate Reader filter. CheckAndMutateRow(context.Context, *CheckAndMutateRowRequest) (*CheckAndMutateRowResponse, error) // Modifies a row atomically on the server. The method reads the latest // existing timestamp and value from the specified columns and writes a new // entry based on pre-defined read/modify/write rules. The new value for the // timestamp is the greater of the existing timestamp or the current server // time. The method returns the new contents of all modified cells. ReadModifyWriteRow(context.Context, *ReadModifyWriteRowRequest) (*ReadModifyWriteRowResponse, error) }
type Bigtable_MutateRowsClient ¶
type Bigtable_MutateRowsClient interface { Recv() (*MutateRowsResponse, error) grpc.ClientStream }
type Bigtable_MutateRowsServer ¶
type Bigtable_MutateRowsServer interface { Send(*MutateRowsResponse) error grpc.ServerStream }
type Bigtable_ReadRowsClient ¶
type Bigtable_ReadRowsClient interface { Recv() (*ReadRowsResponse, error) grpc.ClientStream }
type Bigtable_ReadRowsServer ¶
type Bigtable_ReadRowsServer interface { Send(*ReadRowsResponse) error grpc.ServerStream }
type Bigtable_SampleRowKeysClient ¶
type Bigtable_SampleRowKeysClient interface { Recv() (*SampleRowKeysResponse, error) grpc.ClientStream }
type Bigtable_SampleRowKeysServer ¶
type Bigtable_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.v2.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) GetTimestampMicros ¶
func (*Cell) ProtoMessage ¶
func (*Cell) ProtoMessage()
type CheckAndMutateRowRequest ¶
type CheckAndMutateRowRequest struct { // The unique name of the table to which the conditional mutation should be // applied. // Values are of the form // `projects/<project>/instances/<instance>/tables/<table>`. TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"` // This is a private alpha release of Cloud Bigtable replication. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // This value specifies routing for replication. If not specified, the // "default" application profile will be used. AppProfileId string `protobuf:"bytes,7,opt,name=app_profile_id,json=appProfileId" json:"app_profile_id,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 Bigtable.CheckAndMutateRow.
func (*CheckAndMutateRowRequest) Descriptor ¶
func (*CheckAndMutateRowRequest) Descriptor() ([]byte, []int)
func (*CheckAndMutateRowRequest) GetAppProfileId ¶
func (m *CheckAndMutateRowRequest) GetAppProfileId() string
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 Bigtable.CheckAndMutateRow.
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 intersection of a table.
func (*Column) Descriptor ¶
func (*Column) GetQualifier ¶
func (*Column) ProtoMessage ¶
func (*Column) ProtoMessage()
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_StartQualifierClosed // *ColumnRange_StartQualifierOpen 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_EndQualifierClosed // *ColumnRange_EndQualifierOpen 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) GetEndQualifierClosed ¶
func (m *ColumnRange) GetEndQualifierClosed() []byte
func (*ColumnRange) GetEndQualifierOpen ¶
func (m *ColumnRange) GetEndQualifierOpen() []byte
func (*ColumnRange) GetFamilyName ¶
func (m *ColumnRange) GetFamilyName() string
func (*ColumnRange) GetStartQualifier ¶
func (m *ColumnRange) GetStartQualifier() isColumnRange_StartQualifier
func (*ColumnRange) GetStartQualifierClosed ¶
func (m *ColumnRange) GetStartQualifierClosed() []byte
func (*ColumnRange) GetStartQualifierOpen ¶
func (m *ColumnRange) GetStartQualifierOpen() []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_EndQualifierClosed ¶
type ColumnRange_EndQualifierClosed struct {
EndQualifierClosed []byte `protobuf:"bytes,4,opt,name=end_qualifier_closed,json=endQualifierClosed,proto3,oneof"`
}
type ColumnRange_EndQualifierOpen ¶
type ColumnRange_EndQualifierOpen struct {
EndQualifierOpen []byte `protobuf:"bytes,5,opt,name=end_qualifier_open,json=endQualifierOpen,proto3,oneof"`
}
type ColumnRange_StartQualifierClosed ¶
type ColumnRange_StartQualifierClosed struct {
StartQualifierClosed []byte `protobuf:"bytes,2,opt,name=start_qualifier_closed,json=startQualifierClosed,proto3,oneof"`
}
type ColumnRange_StartQualifierOpen ¶
type ColumnRange_StartQualifierOpen struct {
StartQualifierOpen []byte `protobuf:"bytes,3,opt,name=start_qualifier_open,json=startQualifierOpen,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 intersection of a table.
func (*Family) Descriptor ¶
func (*Family) GetColumns ¶
func (*Family) ProtoMessage ¶
func (*Family) ProtoMessage()
type MutateRowRequest ¶
type MutateRowRequest struct { // The unique name of the table to which the mutation should be applied. // Values are of the form // `projects/<project>/instances/<instance>/tables/<table>`. TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"` // This is a private alpha release of Cloud Bigtable replication. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // This value specifies routing for replication. If not specified, the // "default" application profile will be used. AppProfileId string `protobuf:"bytes,4,opt,name=app_profile_id,json=appProfileId" json:"app_profile_id,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 Bigtable.MutateRow.
func (*MutateRowRequest) Descriptor ¶
func (*MutateRowRequest) Descriptor() ([]byte, []int)
func (*MutateRowRequest) GetAppProfileId ¶
func (m *MutateRowRequest) GetAppProfileId() string
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 MutateRowResponse ¶
type MutateRowResponse struct { }
Response message for Bigtable.MutateRow.
func (*MutateRowResponse) Descriptor ¶
func (*MutateRowResponse) Descriptor() ([]byte, []int)
func (*MutateRowResponse) ProtoMessage ¶
func (*MutateRowResponse) ProtoMessage()
func (*MutateRowResponse) Reset ¶
func (m *MutateRowResponse) Reset()
func (*MutateRowResponse) String ¶
func (m *MutateRowResponse) 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"` // This is a private alpha release of Cloud Bigtable replication. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // This value specifies routing for replication. If not specified, the // "default" application profile will be used. AppProfileId string `protobuf:"bytes,3,opt,name=app_profile_id,json=appProfileId" json:"app_profile_id,omitempty"` // The row keys and corresponding 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 can // 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) GetAppProfileId ¶
func (m *MutateRowsRequest) GetAppProfileId() string
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. // You must specify at least one mutation. 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 { // One or more results for Entries from the batch request. Entries []*MutateRowsResponse_Entry `protobuf:"bytes,1,rep,name=entries" json:"entries,omitempty"` }
Response message for BigtableService.MutateRows.
func (*MutateRowsResponse) Descriptor ¶
func (*MutateRowsResponse) Descriptor() ([]byte, []int)
func (*MutateRowsResponse) GetEntries ¶
func (m *MutateRowsResponse) GetEntries() []*MutateRowsResponse_Entry
func (*MutateRowsResponse) ProtoMessage ¶
func (*MutateRowsResponse) ProtoMessage()
func (*MutateRowsResponse) Reset ¶
func (m *MutateRowsResponse) Reset()
func (*MutateRowsResponse) String ¶
func (m *MutateRowsResponse) String() string
type MutateRowsResponse_Entry ¶
type MutateRowsResponse_Entry struct { // The index into the original request's `entries` list of the Entry // for which a result is being reported. Index int64 `protobuf:"varint,1,opt,name=index" json:"index,omitempty"` // The result of the request Entry identified by `index`. // 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. Status *google_rpc.Status `protobuf:"bytes,2,opt,name=status" json:"status,omitempty"` }
func (*MutateRowsResponse_Entry) Descriptor ¶
func (*MutateRowsResponse_Entry) Descriptor() ([]byte, []int)
func (*MutateRowsResponse_Entry) GetIndex ¶
func (m *MutateRowsResponse_Entry) GetIndex() int64
func (*MutateRowsResponse_Entry) GetStatus ¶
func (m *MutateRowsResponse_Entry) GetStatus() *google_rpc.Status
func (*MutateRowsResponse_Entry) ProtoMessage ¶
func (*MutateRowsResponse_Entry) ProtoMessage()
func (*MutateRowsResponse_Entry) Reset ¶
func (m *MutateRowsResponse_Entry) Reset()
func (*MutateRowsResponse_Entry) String ¶
func (m *MutateRowsResponse_Entry) 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) 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()
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. // Values are of the form // `projects/<project>/instances/<instance>/tables/<table>`. TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"` // This is a private alpha release of Cloud Bigtable replication. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // This value specifies routing for replication. If not specified, the // "default" application profile will be used. AppProfileId string `protobuf:"bytes,4,opt,name=app_profile_id,json=appProfileId" json:"app_profile_id,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 Bigtable.ReadModifyWriteRow.
func (*ReadModifyWriteRowRequest) Descriptor ¶
func (*ReadModifyWriteRowRequest) Descriptor() ([]byte, []int)
func (*ReadModifyWriteRowRequest) GetAppProfileId ¶
func (m *ReadModifyWriteRowRequest) GetAppProfileId() string
func (*ReadModifyWriteRowRequest) GetRowKey ¶
func (m *ReadModifyWriteRowRequest) GetRowKey() []byte
func (*ReadModifyWriteRowRequest) GetRules ¶
func (m *ReadModifyWriteRowRequest) GetRules() []*ReadModifyWriteRule
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 ReadModifyWriteRowResponse ¶
type ReadModifyWriteRowResponse struct { // A Row containing the new contents of all cells modified by the request. Row *Row `protobuf:"bytes,1,opt,name=row" json:"row,omitempty"` }
Response message for Bigtable.ReadModifyWriteRow.
func (*ReadModifyWriteRowResponse) Descriptor ¶
func (*ReadModifyWriteRowResponse) Descriptor() ([]byte, []int)
func (*ReadModifyWriteRowResponse) GetRow ¶
func (m *ReadModifyWriteRowResponse) GetRow() *Row
func (*ReadModifyWriteRowResponse) ProtoMessage ¶
func (*ReadModifyWriteRowResponse) ProtoMessage()
func (*ReadModifyWriteRowResponse) Reset ¶
func (m *ReadModifyWriteRowResponse) Reset()
func (*ReadModifyWriteRowResponse) String ¶
func (m *ReadModifyWriteRowResponse) 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. // Values are of the form // `projects/<project>/instances/<instance>/tables/<table>`. TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"` // This is a private alpha release of Cloud Bigtable replication. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // This value specifies routing for replication. If not specified, the // "default" application profile will be used. AppProfileId string `protobuf:"bytes,5,opt,name=app_profile_id,json=appProfileId" json:"app_profile_id,omitempty"` // The row keys and/or ranges to read. If not specified, reads from all rows. Rows *RowSet `protobuf:"bytes,2,opt,name=rows" json:"rows,omitempty"` // The filter to apply to the contents of the specified row(s). If unset, // reads the entirety of each row. Filter *RowFilter `protobuf:"bytes,3,opt,name=filter" json:"filter,omitempty"` // The read will terminate after committing to N rows' worth of results. The // default (zero) is to return all results. RowsLimit int64 `protobuf:"varint,4,opt,name=rows_limit,json=rowsLimit" json:"rows_limit,omitempty"` }
Request message for Bigtable.ReadRows.
func (*ReadRowsRequest) Descriptor ¶
func (*ReadRowsRequest) Descriptor() ([]byte, []int)
func (*ReadRowsRequest) GetAppProfileId ¶
func (m *ReadRowsRequest) GetAppProfileId() string
func (*ReadRowsRequest) GetFilter ¶
func (m *ReadRowsRequest) GetFilter() *RowFilter
func (*ReadRowsRequest) GetRows ¶
func (m *ReadRowsRequest) GetRows() *RowSet
func (*ReadRowsRequest) GetRowsLimit ¶
func (m *ReadRowsRequest) GetRowsLimit() int64
func (*ReadRowsRequest) GetTableName ¶
func (m *ReadRowsRequest) GetTableName() string
func (*ReadRowsRequest) ProtoMessage ¶
func (*ReadRowsRequest) ProtoMessage()
func (*ReadRowsRequest) Reset ¶
func (m *ReadRowsRequest) Reset()
func (*ReadRowsRequest) String ¶
func (m *ReadRowsRequest) String() string
type ReadRowsResponse ¶
type ReadRowsResponse struct { Chunks []*ReadRowsResponse_CellChunk `protobuf:"bytes,1,rep,name=chunks" json:"chunks,omitempty"` // Optionally the server might return the row key of the last row it // has scanned. The client can use this to construct a more // efficient retry request if needed: any row keys or portions of // ranges less than this row key can be dropped from the request. // This is primarily useful for cases where the server has read a // lot of data that was filtered out since the last committed row // key, allowing the client to skip that work on a retry. LastScannedRowKey []byte `protobuf:"bytes,2,opt,name=last_scanned_row_key,json=lastScannedRowKey,proto3" json:"last_scanned_row_key,omitempty"` }
Response message for Bigtable.ReadRows.
func (*ReadRowsResponse) Descriptor ¶
func (*ReadRowsResponse) Descriptor() ([]byte, []int)
func (*ReadRowsResponse) GetChunks ¶
func (m *ReadRowsResponse) GetChunks() []*ReadRowsResponse_CellChunk
func (*ReadRowsResponse) GetLastScannedRowKey ¶
func (m *ReadRowsResponse) GetLastScannedRowKey() []byte
func (*ReadRowsResponse) ProtoMessage ¶
func (*ReadRowsResponse) ProtoMessage()
func (*ReadRowsResponse) Reset ¶
func (m *ReadRowsResponse) Reset()
func (*ReadRowsResponse) String ¶
func (m *ReadRowsResponse) String() string
type ReadRowsResponse_CellChunk ¶
type ReadRowsResponse_CellChunk struct { // The row key for this chunk of data. If the row key is empty, // this CellChunk is a continuation of the same row as the previous // CellChunk in the response stream, even if that CellChunk was in a // previous ReadRowsResponse message. RowKey []byte `protobuf:"bytes,1,opt,name=row_key,json=rowKey,proto3" json:"row_key,omitempty"` // The column family name for this chunk of data. If this message // is not present this CellChunk is a continuation of the same column // family as the previous CellChunk. The empty string can occur as a // column family name in a response so clients must check // explicitly for the presence of this message, not just for // `family_name.value` being non-empty. FamilyName *google_protobuf1.StringValue `protobuf:"bytes,2,opt,name=family_name,json=familyName" json:"family_name,omitempty"` // The column qualifier for this chunk of data. If this message // is not present, this CellChunk is a continuation of the same column // as the previous CellChunk. Column qualifiers may be empty so // clients must check for the presence of this message, not just // for `qualifier.value` being non-empty. Qualifier *google_protobuf1.BytesValue `protobuf:"bytes,3,opt,name=qualifier" json:"qualifier,omitempty"` // 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. Timestamps are only set in the first CellChunk per cell // (for cells split into multiple chunks). TimestampMicros int64 `protobuf:"varint,4,opt,name=timestamp_micros,json=timestampMicros" json:"timestamp_micros,omitempty"` // Labels applied to the cell by a // [RowFilter][google.bigtable.v2.RowFilter]. Labels are only set // on the first CellChunk per cell. Labels []string `protobuf:"bytes,5,rep,name=labels" json:"labels,omitempty"` // The value stored in the cell. Cell values can be split across // multiple CellChunks. In that case only the value field will be // set in CellChunks after the first: the timestamp and labels // will only be present in the first CellChunk, even if the first // CellChunk came in a previous ReadRowsResponse. Value []byte `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"` // If this CellChunk is part of a chunked cell value and this is // not the final chunk of that cell, value_size will be set to the // total length of the cell value. The client can use this size // to pre-allocate memory to hold the full cell value. ValueSize int32 `protobuf:"varint,7,opt,name=value_size,json=valueSize" json:"value_size,omitempty"` // Types that are valid to be assigned to RowStatus: // *ReadRowsResponse_CellChunk_ResetRow // *ReadRowsResponse_CellChunk_CommitRow RowStatus isReadRowsResponse_CellChunk_RowStatus `protobuf_oneof:"row_status"` }
Specifies a piece of a row's contents returned as part of the read response stream.
func (*ReadRowsResponse_CellChunk) Descriptor ¶
func (*ReadRowsResponse_CellChunk) Descriptor() ([]byte, []int)
func (*ReadRowsResponse_CellChunk) GetCommitRow ¶
func (m *ReadRowsResponse_CellChunk) GetCommitRow() bool
func (*ReadRowsResponse_CellChunk) GetFamilyName ¶
func (m *ReadRowsResponse_CellChunk) GetFamilyName() *google_protobuf1.StringValue
func (*ReadRowsResponse_CellChunk) GetLabels ¶
func (m *ReadRowsResponse_CellChunk) GetLabels() []string
func (*ReadRowsResponse_CellChunk) GetQualifier ¶
func (m *ReadRowsResponse_CellChunk) GetQualifier() *google_protobuf1.BytesValue
func (*ReadRowsResponse_CellChunk) GetResetRow ¶
func (m *ReadRowsResponse_CellChunk) GetResetRow() bool
func (*ReadRowsResponse_CellChunk) GetRowKey ¶
func (m *ReadRowsResponse_CellChunk) GetRowKey() []byte
func (*ReadRowsResponse_CellChunk) GetRowStatus ¶
func (m *ReadRowsResponse_CellChunk) GetRowStatus() isReadRowsResponse_CellChunk_RowStatus
func (*ReadRowsResponse_CellChunk) GetTimestampMicros ¶
func (m *ReadRowsResponse_CellChunk) GetTimestampMicros() int64
func (*ReadRowsResponse_CellChunk) GetValue ¶
func (m *ReadRowsResponse_CellChunk) GetValue() []byte
func (*ReadRowsResponse_CellChunk) GetValueSize ¶
func (m *ReadRowsResponse_CellChunk) GetValueSize() int32
func (*ReadRowsResponse_CellChunk) ProtoMessage ¶
func (*ReadRowsResponse_CellChunk) ProtoMessage()
func (*ReadRowsResponse_CellChunk) Reset ¶
func (m *ReadRowsResponse_CellChunk) Reset()
func (*ReadRowsResponse_CellChunk) String ¶
func (m *ReadRowsResponse_CellChunk) String() string
func (*ReadRowsResponse_CellChunk) XXX_OneofFuncs ¶
func (*ReadRowsResponse_CellChunk) 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_CellChunk_CommitRow ¶
type ReadRowsResponse_CellChunk_CommitRow struct {
CommitRow bool `protobuf:"varint,9,opt,name=commit_row,json=commitRow,oneof"`
}
type ReadRowsResponse_CellChunk_ResetRow ¶
type ReadRowsResponse_CellChunk_ResetRow struct {
ResetRow bool `protobuf:"varint,8,opt,name=reset_row,json=resetRow,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) GetFamilies ¶
func (*Row) ProtoMessage ¶
func (*Row) ProtoMessage()
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) GetApplyLabelTransformer ¶
func (*RowFilter) GetBlockAllFilter ¶
func (*RowFilter) GetCellsPerColumnLimitFilter ¶
func (*RowFilter) GetCellsPerRowLimitFilter ¶
func (*RowFilter) GetCellsPerRowOffsetFilter ¶
func (*RowFilter) GetChain ¶
func (m *RowFilter) GetChain() *RowFilter_Chain
func (*RowFilter) GetColumnQualifierRegexFilter ¶
func (*RowFilter) GetColumnRangeFilter ¶
func (m *RowFilter) GetColumnRangeFilter() *ColumnRange
func (*RowFilter) GetCondition ¶
func (m *RowFilter) GetCondition() *RowFilter_Condition
func (*RowFilter) GetFamilyNameRegexFilter ¶
func (*RowFilter) GetInterleave ¶
func (m *RowFilter) GetInterleave() *RowFilter_Interleave
func (*RowFilter) GetPassAllFilter ¶
func (*RowFilter) GetRowKeyRegexFilter ¶
func (*RowFilter) GetRowSampleFilter ¶
func (*RowFilter) GetStripValueTransformer ¶
func (*RowFilter) GetTimestampRangeFilter ¶
func (m *RowFilter) GetTimestampRangeFilter() *TimestampRange
func (*RowFilter) GetValueRangeFilter ¶
func (m *RowFilter) GetValueRangeFilter() *ValueRange
func (*RowFilter) GetValueRegexFilter ¶
func (*RowFilter) ProtoMessage ¶
func (*RowFilter) ProtoMessage()
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 { // The row key 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 StartKey: // *RowRange_StartKeyClosed // *RowRange_StartKeyOpen StartKey isRowRange_StartKey `protobuf_oneof:"start_key"` // The row key at which to end the range. // If neither field is set, interpreted as the infinite row key, exclusive. // // Types that are valid to be assigned to EndKey: // *RowRange_EndKeyOpen // *RowRange_EndKeyClosed EndKey isRowRange_EndKey `protobuf_oneof:"end_key"` }
Specifies a contiguous range of rows.
func (*RowRange) Descriptor ¶
func (*RowRange) GetEndKeyClosed ¶
func (*RowRange) GetEndKeyOpen ¶
func (*RowRange) GetStartKey ¶
func (m *RowRange) GetStartKey() isRowRange_StartKey
func (*RowRange) GetStartKeyClosed ¶
func (*RowRange) GetStartKeyOpen ¶
func (*RowRange) ProtoMessage ¶
func (*RowRange) ProtoMessage()
type RowRange_EndKeyClosed ¶
type RowRange_EndKeyClosed struct {
EndKeyClosed []byte `protobuf:"bytes,4,opt,name=end_key_closed,json=endKeyClosed,proto3,oneof"`
}
type RowRange_EndKeyOpen ¶
type RowRange_EndKeyOpen struct {
EndKeyOpen []byte `protobuf:"bytes,3,opt,name=end_key_open,json=endKeyOpen,proto3,oneof"`
}
type RowRange_StartKeyClosed ¶
type RowRange_StartKeyClosed struct {
StartKeyClosed []byte `protobuf:"bytes,1,opt,name=start_key_closed,json=startKeyClosed,proto3,oneof"`
}
type RowRange_StartKeyOpen ¶
type RowRange_StartKeyOpen struct {
StartKeyOpen []byte `protobuf:"bytes,2,opt,name=start_key_open,json=startKeyOpen,proto3,oneof"`
}
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) GetRowKeys ¶
func (*RowSet) GetRowRanges ¶
func (*RowSet) ProtoMessage ¶
func (*RowSet) ProtoMessage()
type SampleRowKeysRequest ¶
type SampleRowKeysRequest struct { // The unique name of the table from which to sample row keys. // Values are of the form // `projects/<project>/instances/<instance>/tables/<table>`. TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName" json:"table_name,omitempty"` // This is a private alpha release of Cloud Bigtable replication. This feature // is not currently available to most Cloud Bigtable customers. This feature // might be changed in backward-incompatible ways and is not recommended for // production use. It is not subject to any SLA or deprecation policy. // // This value specifies routing for replication. If not specified, the // "default" application profile will be used. AppProfileId string `protobuf:"bytes,2,opt,name=app_profile_id,json=appProfileId" json:"app_profile_id,omitempty"` }
Request message for Bigtable.SampleRowKeys.
func (*SampleRowKeysRequest) Descriptor ¶
func (*SampleRowKeysRequest) Descriptor() ([]byte, []int)
func (*SampleRowKeysRequest) GetAppProfileId ¶
func (m *SampleRowKeysRequest) GetAppProfileId() string
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 Bigtable.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_StartValueClosed // *ValueRange_StartValueOpen 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_EndValueClosed // *ValueRange_EndValueOpen 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) GetEndValueClosed ¶
func (m *ValueRange) GetEndValueClosed() []byte
func (*ValueRange) GetEndValueOpen ¶
func (m *ValueRange) GetEndValueOpen() []byte
func (*ValueRange) GetStartValue ¶
func (m *ValueRange) GetStartValue() isValueRange_StartValue
func (*ValueRange) GetStartValueClosed ¶
func (m *ValueRange) GetStartValueClosed() []byte
func (*ValueRange) GetStartValueOpen ¶
func (m *ValueRange) GetStartValueOpen() []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_EndValueClosed ¶
type ValueRange_EndValueClosed struct {
EndValueClosed []byte `protobuf:"bytes,3,opt,name=end_value_closed,json=endValueClosed,proto3,oneof"`
}
type ValueRange_EndValueOpen ¶
type ValueRange_EndValueOpen struct {
EndValueOpen []byte `protobuf:"bytes,4,opt,name=end_value_open,json=endValueOpen,proto3,oneof"`
}
type ValueRange_StartValueClosed ¶
type ValueRange_StartValueClosed struct {
StartValueClosed []byte `protobuf:"bytes,1,opt,name=start_value_closed,json=startValueClosed,proto3,oneof"`
}
type ValueRange_StartValueOpen ¶
type ValueRange_StartValueOpen struct {
StartValueOpen []byte `protobuf:"bytes,2,opt,name=start_value_open,json=startValueOpen,proto3,oneof"`
}