operation

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	OperationType_name = map[int32]string{
		0: "COMMAND",
		1: "QUERY",
		2: "CREATE",
		3: "CLOSE",
	}
	OperationType_value = map[string]int32{
		"COMMAND": 0,
		"QUERY":   1,
		"CREATE":  2,
		"CLOSE":   3,
	}
)

Enum value maps for OperationType.

View Source
var (
	AggregateStrategy_name = map[int32]string{
		0: "CHOOSE_FIRST",
		1: "APPEND",
		2: "SUM",
	}
	AggregateStrategy_value = map[string]int32{
		"CHOOSE_FIRST": 0,
		"APPEND":       1,
		"SUM":          2,
	}
)

Enum value maps for AggregateStrategy.

View Source
var (
	// optional string name = 61000;
	E_Name = &file_atomix_primitive_v1_operation_proto_extTypes[0]
	// optional atomix.primitive.v1.operation.OperationType type = 61001;
	E_Type = &file_atomix_primitive_v1_operation_proto_extTypes[1]
	// optional bool async = 61002;
	E_Async = &file_atomix_primitive_v1_operation_proto_extTypes[2]
	// optional uint32 id = 61003;
	E_Id = &file_atomix_primitive_v1_operation_proto_extTypes[3]
)

Extension fields to descriptor.MethodOptions.

View Source
var (
	// optional atomix.primitive.v1.operation.AggregateStrategy aggregate = 62001;
	E_Aggregate = &file_atomix_primitive_v1_operation_proto_extTypes[4]
)

Extension fields to descriptor.FieldOptions.

View Source
var File_atomix_primitive_v1_operation_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AggregateStrategy

type AggregateStrategy int32

AggregateStrategy is an enum for indicating the strategy used to aggregate a field

const (
	AggregateStrategy_CHOOSE_FIRST AggregateStrategy = 0
	AggregateStrategy_APPEND       AggregateStrategy = 1
	AggregateStrategy_SUM          AggregateStrategy = 2
)

func (AggregateStrategy) Descriptor

func (AggregateStrategy) Enum

func (AggregateStrategy) EnumDescriptor deprecated

func (AggregateStrategy) EnumDescriptor() ([]byte, []int)

Deprecated: Use AggregateStrategy.Descriptor instead.

func (AggregateStrategy) Number

func (AggregateStrategy) String

func (x AggregateStrategy) String() string

func (AggregateStrategy) Type

type OperationType

type OperationType int32

OperationType is an enum for specifying the type of operation

const (
	OperationType_COMMAND OperationType = 0
	OperationType_QUERY   OperationType = 1
	OperationType_CREATE  OperationType = 2
	OperationType_CLOSE   OperationType = 3
)

func (OperationType) Descriptor

func (OperationType) Enum

func (x OperationType) Enum() *OperationType

func (OperationType) EnumDescriptor deprecated

func (OperationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use OperationType.Descriptor instead.

func (OperationType) Number

func (OperationType) String

func (x OperationType) String() string

func (OperationType) Type

Jump to

Keyboard shortcuts

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