node

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BinaryStatement_name = map[int32]string{
	0:  "BinaryStatementUnknown",
	1:  "Bitand",
	2:  "Bitor",
	3:  "Bitxor",
	4:  "Plus",
	5:  "Minus",
	6:  "Mult",
	7:  "Div",
	8:  "FloorDiv",
	9:  "Mod",
	10: "Concat",
	11: "LShift",
	12: "RShift",
	13: "Pow",
	14: "JSONFetchText",
	15: "JSONFetchVal",
}
View Source
var BinaryStatement_value = map[string]int32{
	"BinaryStatementUnknown": 0,
	"Bitand":                 1,
	"Bitor":                  2,
	"Bitxor":                 3,
	"Plus":                   4,
	"Minus":                  5,
	"Mult":                   6,
	"Div":                    7,
	"FloorDiv":               8,
	"Mod":                    9,
	"Concat":                 10,
	"LShift":                 11,
	"RShift":                 12,
	"Pow":                    13,
	"JSONFetchText":          14,
	"JSONFetchVal":           15,
}
View Source
var ComparisonType_name = map[int32]string{
	0: "UnknownComparisonType",
	1: "VariableConstant",
	2: "VariableVariable",
}
View Source
var ComparisonType_value = map[string]int32{
	"UnknownComparisonType": 0,
	"VariableConstant":      1,
	"VariableVariable":      2,
}
View Source
var OperatorStatement_name = map[int32]string{
	0:  "OperatorUnknown",
	1:  "Where",
	2:  "Limit",
	3:  "Offset",
	4:  "Order",
	5:  "LeftJoin",
	6:  "RightJoin",
	7:  "InnerJoin",
	8:  "OuterJoin",
	9:  "Equal",
	10: "NotEqual",
	11: "In",
	12: "NotIn",
	13: "GreaterThan",
	14: "GreaterOrEqualThan",
	15: "LessThan",
	16: "LessOrEqualThan",
	17: "Like",
	18: "NotLike",
	19: "ILike",
	20: "NotILike",
	21: "RegMatch",
	22: "NotRegMatch",
	23: "RegIMatch",
	24: "NotRegIMatch",
	25: "IsDistinctFrom",
	26: "IsNotDistinctFrom",
	27: "Any",
	28: "All",
	29: "Binary",
}
View Source
var OperatorStatement_value = map[string]int32{
	"OperatorUnknown":    0,
	"Where":              1,
	"Limit":              2,
	"Offset":             3,
	"Order":              4,
	"LeftJoin":           5,
	"RightJoin":          6,
	"InnerJoin":          7,
	"OuterJoin":          8,
	"Equal":              9,
	"NotEqual":           10,
	"In":                 11,
	"NotIn":              12,
	"GreaterThan":        13,
	"GreaterOrEqualThan": 14,
	"LessThan":           15,
	"LessOrEqualThan":    16,
	"Like":               17,
	"NotLike":            18,
	"ILike":              19,
	"NotILike":           20,
	"RegMatch":           21,
	"NotRegMatch":        22,
	"RegIMatch":          23,
	"NotRegIMatch":       24,
	"IsDistinctFrom":     25,
	"IsNotDistinctFrom":  26,
	"Any":                27,
	"All":                28,
	"Binary":             29,
}

Functions

This section is empty.

Types

type BinaryStatement

type BinaryStatement int32
const (
	BinaryStatementUnknown BinaryStatement = 0
	Bitand                 BinaryStatement = 1
	Bitor                  BinaryStatement = 2
	Bitxor                 BinaryStatement = 3
	Plus                   BinaryStatement = 4
	Minus                  BinaryStatement = 5
	Mult                   BinaryStatement = 6
	Div                    BinaryStatement = 7
	FloorDiv               BinaryStatement = 8
	Mod                    BinaryStatement = 9
	Concat                 BinaryStatement = 10
	LShift                 BinaryStatement = 11
	RShift                 BinaryStatement = 12
	Pow                    BinaryStatement = 13
	JSONFetchText          BinaryStatement = 14
	JSONFetchVal           BinaryStatement = 15
)

func (BinaryStatement) EnumDescriptor

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

func (BinaryStatement) String

func (x BinaryStatement) String() string

type Catalog

type Catalog struct {
	UID                  uint64   `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Namespace            string   `protobuf:"bytes,2,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description          string   `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Labels               []string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty"`
	Tables               []*Table `protobuf:"bytes,6,rep,name=tables,proto3" json:"tables,omitempty"`
	Hidden               bool     `protobuf:"varint,7,opt,name=hidden,proto3" json:"hidden,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Catalog) Descriptor

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

func (*Catalog) GetDescription

func (m *Catalog) GetDescription() string

func (*Catalog) GetHidden

func (m *Catalog) GetHidden() bool

func (*Catalog) GetLabels

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

func (*Catalog) GetName

func (m *Catalog) GetName() string

func (*Catalog) GetNamespace

func (m *Catalog) GetNamespace() string

func (*Catalog) GetTables

func (m *Catalog) GetTables() []*Table

func (*Catalog) GetUID

func (m *Catalog) GetUID() uint64

func (*Catalog) ProtoMessage

func (*Catalog) ProtoMessage()

func (*Catalog) Reset

func (m *Catalog) Reset()

func (*Catalog) String

func (m *Catalog) String() string

func (*Catalog) XXX_DiscardUnknown

func (m *Catalog) XXX_DiscardUnknown()

func (*Catalog) XXX_Marshal

func (m *Catalog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Catalog) XXX_Merge

func (m *Catalog) XXX_Merge(src proto.Message)

func (*Catalog) XXX_Size

func (m *Catalog) XXX_Size() int

func (*Catalog) XXX_Unmarshal

func (m *Catalog) XXX_Unmarshal(b []byte) error

type Column

type Column struct {
	Name                 string      `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Type                 *types.Type `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	Indexed              bool        `protobuf:"varint,5,opt,name=indexed,proto3" json:"indexed,omitempty"`
	Nullable             bool        `protobuf:"varint,6,opt,name=nullable,proto3" json:"nullable,omitempty"`
	Operators            []*Operator `protobuf:"bytes,7,rep,name=operators,proto3" json:"operators,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*Column) Descriptor

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

func (*Column) GetIndexed

func (m *Column) GetIndexed() bool

func (*Column) GetName

func (m *Column) GetName() string

func (*Column) GetNullable

func (m *Column) GetNullable() bool

func (*Column) GetOperators

func (m *Column) GetOperators() []*Operator

func (*Column) GetType

func (m *Column) GetType() *types.Type

func (*Column) ProtoMessage

func (*Column) ProtoMessage()

func (*Column) Reset

func (m *Column) Reset()

func (*Column) String

func (m *Column) String() string

func (*Column) XXX_DiscardUnknown

func (m *Column) XXX_DiscardUnknown()

func (*Column) XXX_Marshal

func (m *Column) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Column) XXX_Merge

func (m *Column) XXX_Merge(src proto.Message)

func (*Column) XXX_Size

func (m *Column) XXX_Size() int

func (*Column) XXX_Unmarshal

func (m *Column) XXX_Unmarshal(b []byte) error

type ComparisonType

type ComparisonType int32
const (
	UnknownComparisonType ComparisonType = 0
	VariableConstant      ComparisonType = 1
	VariableVariable      ComparisonType = 2
)

func (ComparisonType) EnumDescriptor

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

func (ComparisonType) String

func (x ComparisonType) String() string

type Operator

type Operator struct {
	Statement            OperatorStatement `protobuf:"varint,1,opt,name=statement,proto3,enum=cloudproud.lunodb.node.v1.OperatorStatement" json:"statement,omitempty"`
	ComparisonTypes      []ComparisonType  `` /* 160-byte string literal not displayed */
	Required             bool              `protobuf:"varint,3,opt,name=required,proto3" json:"required,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func (*Operator) Descriptor

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

func (*Operator) GetComparisonTypes

func (m *Operator) GetComparisonTypes() []ComparisonType

func (*Operator) GetRequired

func (m *Operator) GetRequired() bool

func (*Operator) GetStatement

func (m *Operator) GetStatement() OperatorStatement

func (*Operator) ProtoMessage

func (*Operator) ProtoMessage()

func (*Operator) Reset

func (m *Operator) Reset()

func (*Operator) String

func (m *Operator) String() string

func (*Operator) XXX_DiscardUnknown

func (m *Operator) XXX_DiscardUnknown()

func (*Operator) XXX_Marshal

func (m *Operator) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Operator) XXX_Merge

func (m *Operator) XXX_Merge(src proto.Message)

func (*Operator) XXX_Size

func (m *Operator) XXX_Size() int

func (*Operator) XXX_Unmarshal

func (m *Operator) XXX_Unmarshal(b []byte) error

type OperatorStatement

type OperatorStatement int32
const (
	OperatorUnknown    OperatorStatement = 0
	Where              OperatorStatement = 1
	Limit              OperatorStatement = 2
	Offset             OperatorStatement = 3
	Order              OperatorStatement = 4
	LeftJoin           OperatorStatement = 5
	RightJoin          OperatorStatement = 6
	InnerJoin          OperatorStatement = 7
	OuterJoin          OperatorStatement = 8
	Equal              OperatorStatement = 9
	NotEqual           OperatorStatement = 10
	In                 OperatorStatement = 11
	NotIn              OperatorStatement = 12
	GreaterThan        OperatorStatement = 13
	GreaterOrEqualThan OperatorStatement = 14
	LessThan           OperatorStatement = 15
	LessOrEqualThan    OperatorStatement = 16
	Like               OperatorStatement = 17
	NotLike            OperatorStatement = 18
	ILike              OperatorStatement = 19
	NotILike           OperatorStatement = 20
	RegMatch           OperatorStatement = 21
	NotRegMatch        OperatorStatement = 22
	RegIMatch          OperatorStatement = 23
	NotRegIMatch       OperatorStatement = 24
	IsDistinctFrom     OperatorStatement = 25
	IsNotDistinctFrom  OperatorStatement = 26
	Any                OperatorStatement = 27
	All                OperatorStatement = 28
	Binary             OperatorStatement = 29
)

func (OperatorStatement) EnumDescriptor

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

func (OperatorStatement) String

func (x OperatorStatement) String() string

type Table

type Table struct {
	Name                 string      `protobuf:"bytes,10,opt,name=name,proto3" json:"name,omitempty"`
	Schema               string      `protobuf:"bytes,11,opt,name=schema,proto3" json:"schema,omitempty"`
	Catalog              string      `protobuf:"bytes,12,opt,name=catalog,proto3" json:"catalog,omitempty"`
	Schemaless           bool        `protobuf:"varint,13,opt,name=schemaless,proto3" json:"schemaless,omitempty"`
	Columns              []*Column   `protobuf:"bytes,14,rep,name=columns,proto3" json:"columns,omitempty"`
	Connector            string      `protobuf:"bytes,15,opt,name=connector,proto3" json:"connector,omitempty"`
	Operators            []*Operator `protobuf:"bytes,16,rep,name=operators,proto3" json:"operators,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*Table) Descriptor

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

func (*Table) GetCatalog

func (m *Table) GetCatalog() string

func (*Table) GetColumns

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

func (*Table) GetConnector

func (m *Table) GetConnector() string

func (*Table) GetName

func (m *Table) GetName() string

func (*Table) GetOperators

func (m *Table) GetOperators() []*Operator

func (*Table) GetSchema

func (m *Table) GetSchema() string

func (*Table) GetSchemaless

func (m *Table) GetSchemaless() bool

func (*Table) ProtoMessage

func (*Table) ProtoMessage()

func (*Table) Reset

func (m *Table) Reset()

func (*Table) String

func (m *Table) String() string

func (*Table) XXX_DiscardUnknown

func (m *Table) XXX_DiscardUnknown()

func (*Table) XXX_Marshal

func (m *Table) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Table) XXX_Merge

func (m *Table) XXX_Merge(src proto.Message)

func (*Table) XXX_Size

func (m *Table) XXX_Size() int

func (*Table) XXX_Unmarshal

func (m *Table) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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