space

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MaxAllowedValue = int64(8000)
View Source
var TotalMaximumSpaceCount = int64(512 * 1024 * 1024)

maximum 512mb

Functions

func CountSpacesFloat added in v0.5.0

func CountSpacesFloat[T constraints.Float](columnValues []T) (int64, error)

func CountSpacesForCharVarChar

func CountSpacesForCharVarChar(originalVecCol *types.Bytes) int64

func CountSpacesForFloat

func CountSpacesForFloat[T constraints.Float](columnValues []T) int64

func CountSpacesForSignedInt

func CountSpacesForSignedInt(originalVecCol interface{}) int64

func CountSpacesForUint64 added in v0.5.0

func CountSpacesForUint64(columnValues []uint64) int64

func CountSpacesForUnsignedInt

func CountSpacesForUnsignedInt(originalVecCol interface{}) int64

func CountSpacesSigned added in v0.5.0

func CountSpacesSigned[T constraints.Signed](columnValues []T) (int64, error)

func CountSpacesUnsigned added in v0.5.0

func CountSpacesUnsigned[T constraints.Unsigned](columnValues []T) (int64, error)

func FillSpacesCharVarChar

func FillSpacesCharVarChar(originalVecCol, result *types.Bytes) *types.Bytes

func FillSpacesFloat32

func FillSpacesFloat32(originalVecCol []float32, result *types.Bytes) *types.Bytes

func FillSpacesFloat64

func FillSpacesFloat64(originalVecCol []float64, result *types.Bytes) *types.Bytes

func FillSpacesInt16

func FillSpacesInt16(originalVecCol []int16, result *types.Bytes) *types.Bytes

func FillSpacesInt32

func FillSpacesInt32(originalVecCol []int32, result *types.Bytes) *types.Bytes

func FillSpacesInt64

func FillSpacesInt64(originalVecCol []int64, result *types.Bytes) *types.Bytes

func FillSpacesInt8

func FillSpacesInt8(originalVecCol []int8, result *types.Bytes) *types.Bytes

func FillSpacesUint16

func FillSpacesUint16(originalVecCol []uint16, result *types.Bytes) *types.Bytes

func FillSpacesUint32

func FillSpacesUint32(originalVecCol []uint32, result *types.Bytes) *types.Bytes

func FillSpacesUint64

func FillSpacesUint64(originalVecCol []uint64, result *types.Bytes) *types.Bytes

func FillSpacesUint8

func FillSpacesUint8(originalVecCol []uint8, result *types.Bytes) *types.Bytes

Types

type Result added in v0.5.0

type Result struct {
	Result *types.Bytes
	Nsp    *nulls.Nulls
}

func FillSpacesFloat added in v0.5.0

func FillSpacesFloat[T constraints.Float](originalVecCol []T, resultBytes *types.Bytes) Result

func FillSpacesSigned added in v0.5.0

func FillSpacesSigned[T constraints.Signed](originalVecCol []T, resultBytes *types.Bytes) Result

func FillSpacesUnsigned added in v0.5.0

func FillSpacesUnsigned[T constraints.Unsigned](originalVecCol []T, resultBytes *types.Bytes) Result

Jump to

Keyboard shortcuts

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