sorting

package
v0.0.0-...-23e8124 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Direction

type Direction int
const (
	None Direction = iota
	Ascending
	Descending
)

func (Direction) MarshalJSON

func (d Direction) MarshalJSON() ([]byte, error)

func (Direction) Name

func (d Direction) Name() string

func (Direction) Ordinal

func (d Direction) Ordinal() int

func (Direction) Values

func (d Direction) Values() *[]string

type OrderByColumn

type OrderByColumn struct {
	Dimension      string           `json:"dimension"`
	Direction      Direction        `json:"direction"`
	DimensionOrder SortingOrderType `json:"dimensionOrder"`
}

func (OrderByColumn) Type

func (o OrderByColumn) Type() string

type Orderby

type Orderby interface {
	Type() string
}

type SortingOrder

type SortingOrder struct {
	SortingOrderType SortingOrderType `json:"type"`
}

type SortingOrderType

type SortingOrderType int
const (
	Lexicographic SortingOrderType = iota
	Alphanumeric
	Numeric
	Strlen
	Version
)

func (SortingOrderType) MarshalJSON

func (s SortingOrderType) MarshalJSON() ([]byte, error)

func (SortingOrderType) Name

func (s SortingOrderType) Name() string

func (SortingOrderType) Ordinal

func (s SortingOrderType) Ordinal() int

func (SortingOrderType) Values

func (s SortingOrderType) Values() *[]string

Jump to

Keyboard shortcuts

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