parquet_options

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var E_FieldOpts = &proto.ExtensionDesc{
	ExtendedType:  (*descriptorpb.FieldOptions)(nil),
	ExtensionType: (*FieldOptions)(nil),
	Field:         1023,
	Name:          "parquet_options.field_opts",
	Tag:           "bytes,1023,opt,name=field_opts",
	Filename:      "parquet_options/parquet_options.proto",
}
View Source
var E_MessageOpts = &proto.ExtensionDesc{
	ExtendedType:  (*descriptorpb.MessageOptions)(nil),
	ExtensionType: (*MessageOptions)(nil),
	Field:         1023,
	Name:          "parquet_options.message_opts",
	Tag:           "bytes,1023,opt,name=message_opts",
	Filename:      "parquet_options/parquet_options.proto",
}
View Source
var TimestampType_name = map[int32]string{
	0: "UNSPECIFIED",
	1: "TIMESTAMP_MILLIS",
	2: "TIMESTAMP_MICROS",
	3: "TIMESTAMP_NANOS",
}
View Source
var TimestampType_value = map[string]int32{
	"UNSPECIFIED":      0,
	"TIMESTAMP_MILLIS": 1,
	"TIMESTAMP_MICROS": 2,
	"TIMESTAMP_NANOS":  3,
}

Functions

This section is empty.

Types

type FieldOptions

type FieldOptions struct {
	TimestampType        TimestampType `` /* 136-byte string literal not displayed */
	IsJson               bool          `protobuf:"varint,2,opt,name=is_json,json=isJson,proto3" json:"is_json,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*FieldOptions) Descriptor

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

func (*FieldOptions) GetIsJson

func (m *FieldOptions) GetIsJson() bool

func (*FieldOptions) GetTimestampType

func (m *FieldOptions) GetTimestampType() TimestampType

func (*FieldOptions) ProtoMessage

func (*FieldOptions) ProtoMessage()

func (*FieldOptions) Reset

func (m *FieldOptions) Reset()

func (*FieldOptions) String

func (m *FieldOptions) String() string

func (*FieldOptions) XXX_DiscardUnknown

func (m *FieldOptions) XXX_DiscardUnknown()

func (*FieldOptions) XXX_Marshal

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

func (*FieldOptions) XXX_Merge

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

func (*FieldOptions) XXX_Size

func (m *FieldOptions) XXX_Size() int

func (*FieldOptions) XXX_Unmarshal

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

type MessageOptions

type MessageOptions struct {
	// As long as table_name is not blank,
	// a schema is generated for top-level messages in each file.
	TableName            string   `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MessageOptions) Descriptor

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

func (*MessageOptions) GetTableName

func (m *MessageOptions) GetTableName() string

func (*MessageOptions) ProtoMessage

func (*MessageOptions) ProtoMessage()

func (*MessageOptions) Reset

func (m *MessageOptions) Reset()

func (*MessageOptions) String

func (m *MessageOptions) String() string

func (*MessageOptions) XXX_DiscardUnknown

func (m *MessageOptions) XXX_DiscardUnknown()

func (*MessageOptions) XXX_Marshal

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

func (*MessageOptions) XXX_Merge

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

func (*MessageOptions) XXX_Size

func (m *MessageOptions) XXX_Size() int

func (*MessageOptions) XXX_Unmarshal

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

type TimestampType

type TimestampType int32
const (
	TimestampType_UNSPECIFIED      TimestampType = 0
	TimestampType_TIMESTAMP_MILLIS TimestampType = 1
	TimestampType_TIMESTAMP_MICROS TimestampType = 2
	TimestampType_TIMESTAMP_NANOS  TimestampType = 3
)

func (TimestampType) EnumDescriptor

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

func (TimestampType) String

func (x TimestampType) String() string

Jump to

Keyboard shortcuts

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