orc

package
v0.0.0-...-5265a8e Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	READ_ROWS_NUMBER = 10000
)

Variables

This section is empty.

Functions

func OrcTypeToGueryType

func OrcTypeToGueryType(src interface{}, oT proto.Type_Kind) interface{}

Types

type OrcFileReader

type OrcFileReader struct {
	Closer            io.Closer
	Reader            *orc.Reader
	Cursor            *orc.Cursor
	Metadata          *metadata.Metadata
	OutMetadata       *metadata.Metadata
	ReadColumnNames   []string
	ReadColumnTypes   []proto.Type_Kind
	ReadColumnIndexes []int
}

func New

func (*OrcFileReader) Read

func (self *OrcFileReader) Read(indexes []int) (*row.RowsGroup, error)

func (*OrcFileReader) SetReadColumns

func (self *OrcFileReader) SetReadColumns(indexes []int) error

Jump to

Keyboard shortcuts

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