index_req

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Identifiers

type Identifiers = IndexEntry

type Index

type Index = IndexEntry

type IndexEntry

type IndexEntry struct {
	Code                int      `json:"code,omitempty"`
	Deduplicate         bool     `json:"deduplicate,omitempty"`
	Error               bool     `json:"error,omitempty"`
	ExpireAfter         int      `json:"expireAfter,omitempty"`
	Fields              []string `json:"fields,omitempty"`
	GeoJson             bool     `json:"geoJson,omitempty"`
	Id                  string   `json:"id,omitempty"`
	Name                string   `json:"name,omitempty"`
	MinLength           int      `json:"minLength,omitempty"`
	SelectivityEstimate int      `json:"selectivityEstimate,omitempty"`
	Sparse              bool     `json:"sparse,omitempty"`
	Type                string   `json:"type,omitempty"`
	Unique              bool     `json:"unique,omitempty"`
	MaxNumCoverCells    int      `json:"maxNumCoverCells,omitempty"`
	WorstIndexedLevel   int      `json:"worstIndexedLevel,omitempty"`
}

func NewResponseForCreateFulltextIndex

func NewResponseForCreateFulltextIndex() *IndexEntry

func NewResponseForCreateGeoIndex

func NewResponseForCreateGeoIndex() *IndexEntry

func NewResponseForCreateHashIndex added in v0.0.5

func NewResponseForCreateHashIndex() *IndexEntry

func NewResponseForCreatePersistentIndex added in v0.0.8

func NewResponseForCreatePersistentIndex() *IndexEntry

func NewResponseForCreateSkipListIndex added in v0.0.8

func NewResponseForCreateSkipListIndex() *IndexEntry

func NewResponseForCreateTTLIndex added in v0.0.8

func NewResponseForCreateTTLIndex() *IndexEntry

func NewResponseForGetIndex added in v0.0.5

func NewResponseForGetIndex() *IndexEntry

func (*IndexEntry) IsResponse added in v1.3.1

func (r *IndexEntry) IsResponse()

func (IndexEntry) String

func (r IndexEntry) String() string

type RequestForCreateFulltextIndex

type RequestForCreateFulltextIndex struct {
	// contains filtered or unexported fields
}

func NewRequestForCreateFulltextIndex

func NewRequestForCreateFulltextIndex(fabric, collectionName, field string, minLength int) *RequestForCreateFulltextIndex

func (*RequestForCreateFulltextIndex) GetQueryParameter

func (req *RequestForCreateFulltextIndex) GetQueryParameter() string

func (*RequestForCreateFulltextIndex) HasQueryParameter

func (req *RequestForCreateFulltextIndex) HasQueryParameter() bool

func (*RequestForCreateFulltextIndex) Method

func (req *RequestForCreateFulltextIndex) Method() string

func (*RequestForCreateFulltextIndex) Path

func (*RequestForCreateFulltextIndex) Payload

func (req *RequestForCreateFulltextIndex) Payload() []byte

func (*RequestForCreateFulltextIndex) Query

func (*RequestForCreateFulltextIndex) ResponseCode

func (req *RequestForCreateFulltextIndex) ResponseCode() int

type RequestForCreateGeoIndex

type RequestForCreateGeoIndex struct {
	// contains filtered or unexported fields
}

func NewRequestForCreateGeoIndex

func NewRequestForCreateGeoIndex(fabric, collectionName, field string, geoJson bool) *RequestForCreateGeoIndex

func (*RequestForCreateGeoIndex) GetQueryParameter

func (req *RequestForCreateGeoIndex) GetQueryParameter() string

func (*RequestForCreateGeoIndex) HasQueryParameter

func (req *RequestForCreateGeoIndex) HasQueryParameter() bool

func (*RequestForCreateGeoIndex) Method

func (req *RequestForCreateGeoIndex) Method() string

func (*RequestForCreateGeoIndex) Path

func (req *RequestForCreateGeoIndex) Path() string

func (*RequestForCreateGeoIndex) Payload

func (req *RequestForCreateGeoIndex) Payload() []byte

func (*RequestForCreateGeoIndex) Query

func (req *RequestForCreateGeoIndex) Query() string

func (*RequestForCreateGeoIndex) ResponseCode

func (req *RequestForCreateGeoIndex) ResponseCode() int

type RequestForCreateHashIndex added in v0.0.5

type RequestForCreateHashIndex struct {
	// contains filtered or unexported fields
}

func NewRequestForCreateHashIndex added in v0.0.5

func NewRequestForCreateHashIndex(fabric, collectionName, field string, deduplicate, sparse, unique bool) *RequestForCreateHashIndex

func (*RequestForCreateHashIndex) GetQueryParameter added in v0.0.5

func (req *RequestForCreateHashIndex) GetQueryParameter() string

func (*RequestForCreateHashIndex) HasQueryParameter added in v0.0.5

func (req *RequestForCreateHashIndex) HasQueryParameter() bool

func (*RequestForCreateHashIndex) Method added in v0.0.5

func (req *RequestForCreateHashIndex) Method() string

func (*RequestForCreateHashIndex) Path added in v0.0.5

func (req *RequestForCreateHashIndex) Path() string

func (*RequestForCreateHashIndex) Payload added in v0.0.5

func (req *RequestForCreateHashIndex) Payload() []byte

func (*RequestForCreateHashIndex) Query added in v0.0.5

func (req *RequestForCreateHashIndex) Query() string

func (*RequestForCreateHashIndex) ResponseCode added in v0.0.5

func (req *RequestForCreateHashIndex) ResponseCode() int

type RequestForCreatePersistentIndex added in v0.0.8

type RequestForCreatePersistentIndex struct {
	// contains filtered or unexported fields
}

func NewRequestForCreatePersistentIndex added in v0.0.8

func NewRequestForCreatePersistentIndex(fabric, collectionName, field string, deduplicate, sparse, unique bool) *RequestForCreatePersistentIndex

func (*RequestForCreatePersistentIndex) GetQueryParameter added in v0.0.8

func (req *RequestForCreatePersistentIndex) GetQueryParameter() string

func (*RequestForCreatePersistentIndex) HasQueryParameter added in v0.0.8

func (req *RequestForCreatePersistentIndex) HasQueryParameter() bool

func (*RequestForCreatePersistentIndex) Method added in v0.0.8

func (*RequestForCreatePersistentIndex) Path added in v0.0.8

func (*RequestForCreatePersistentIndex) Payload added in v0.0.8

func (req *RequestForCreatePersistentIndex) Payload() []byte

func (*RequestForCreatePersistentIndex) Query added in v0.0.8

func (*RequestForCreatePersistentIndex) ResponseCode added in v0.0.8

func (req *RequestForCreatePersistentIndex) ResponseCode() int

type RequestForCreateSkipListIndex added in v0.0.8

type RequestForCreateSkipListIndex struct {
	// contains filtered or unexported fields
}

func NewRequestForCreateSkipListIndex added in v0.0.8

func NewRequestForCreateSkipListIndex(fabric, collectionName, field string, deduplicate, sparse, unique bool) *RequestForCreateSkipListIndex

func (*RequestForCreateSkipListIndex) GetQueryParameter added in v0.0.8

func (req *RequestForCreateSkipListIndex) GetQueryParameter() string

func (*RequestForCreateSkipListIndex) HasQueryParameter added in v0.0.8

func (req *RequestForCreateSkipListIndex) HasQueryParameter() bool

func (*RequestForCreateSkipListIndex) Method added in v0.0.8

func (req *RequestForCreateSkipListIndex) Method() string

func (*RequestForCreateSkipListIndex) Path added in v0.0.8

func (*RequestForCreateSkipListIndex) Payload added in v0.0.8

func (req *RequestForCreateSkipListIndex) Payload() []byte

func (*RequestForCreateSkipListIndex) Query added in v0.0.8

func (*RequestForCreateSkipListIndex) ResponseCode added in v0.0.8

func (req *RequestForCreateSkipListIndex) ResponseCode() int

type RequestForCreateTTLIndex added in v0.0.8

type RequestForCreateTTLIndex struct {
	// contains filtered or unexported fields
}

func NewRequestForCreateTTLIndex added in v0.0.8

func NewRequestForCreateTTLIndex(fabric, collectionName, field string, expireAfter int) *RequestForCreateTTLIndex

func (*RequestForCreateTTLIndex) GetQueryParameter added in v0.0.8

func (req *RequestForCreateTTLIndex) GetQueryParameter() string

func (*RequestForCreateTTLIndex) HasQueryParameter added in v0.0.8

func (req *RequestForCreateTTLIndex) HasQueryParameter() bool

func (*RequestForCreateTTLIndex) Method added in v0.0.8

func (req *RequestForCreateTTLIndex) Method() string

func (*RequestForCreateTTLIndex) Path added in v0.0.8

func (req *RequestForCreateTTLIndex) Path() string

func (*RequestForCreateTTLIndex) Payload added in v0.0.8

func (req *RequestForCreateTTLIndex) Payload() []byte

func (*RequestForCreateTTLIndex) Query added in v0.0.8

func (req *RequestForCreateTTLIndex) Query() string

func (*RequestForCreateTTLIndex) ResponseCode added in v0.0.8

func (req *RequestForCreateTTLIndex) ResponseCode() int

type RequestForDeleteIndex added in v0.0.5

type RequestForDeleteIndex struct {
	// contains filtered or unexported fields
}

func NewRequestForDeleteIndex added in v0.0.5

func NewRequestForDeleteIndex(fabric, collectionName, indexName string) *RequestForDeleteIndex

func (*RequestForDeleteIndex) GetQueryParameter added in v0.0.5

func (req *RequestForDeleteIndex) GetQueryParameter() string

func (*RequestForDeleteIndex) HasQueryParameter added in v0.0.5

func (req *RequestForDeleteIndex) HasQueryParameter() bool

func (*RequestForDeleteIndex) Method added in v0.0.5

func (req *RequestForDeleteIndex) Method() string

func (*RequestForDeleteIndex) Path added in v0.0.5

func (req *RequestForDeleteIndex) Path() string

func (*RequestForDeleteIndex) Payload added in v0.0.5

func (req *RequestForDeleteIndex) Payload() []byte

func (*RequestForDeleteIndex) Query added in v0.0.5

func (req *RequestForDeleteIndex) Query() string

func (*RequestForDeleteIndex) ResponseCode added in v0.0.5

func (req *RequestForDeleteIndex) ResponseCode() int

type RequestForGetAllIndices

type RequestForGetAllIndices struct {
	// contains filtered or unexported fields
}

func NewRequestForGetAllIndices

func NewRequestForGetAllIndices(fabric, collectionName string) *RequestForGetAllIndices

func (*RequestForGetAllIndices) GetQueryParameter

func (req *RequestForGetAllIndices) GetQueryParameter() string

func (*RequestForGetAllIndices) HasQueryParameter

func (req *RequestForGetAllIndices) HasQueryParameter() bool

func (*RequestForGetAllIndices) Method

func (req *RequestForGetAllIndices) Method() string

func (*RequestForGetAllIndices) Path

func (req *RequestForGetAllIndices) Path() string

func (*RequestForGetAllIndices) Payload

func (req *RequestForGetAllIndices) Payload() []byte

func (*RequestForGetAllIndices) Query

func (req *RequestForGetAllIndices) Query() string

func (*RequestForGetAllIndices) ResponseCode

func (req *RequestForGetAllIndices) ResponseCode() int

type RequestForGetIndex added in v0.0.5

type RequestForGetIndex struct {
	// contains filtered or unexported fields
}

func NewRequestForGetIndex added in v0.0.5

func NewRequestForGetIndex(fabric, collectionName, indexName string) *RequestForGetIndex

func (*RequestForGetIndex) GetQueryParameter added in v0.0.5

func (req *RequestForGetIndex) GetQueryParameter() string

func (*RequestForGetIndex) HasQueryParameter added in v0.0.5

func (req *RequestForGetIndex) HasQueryParameter() bool

func (*RequestForGetIndex) Method added in v0.0.5

func (req *RequestForGetIndex) Method() string

func (*RequestForGetIndex) Path added in v0.0.5

func (req *RequestForGetIndex) Path() string

func (*RequestForGetIndex) Payload added in v0.0.5

func (req *RequestForGetIndex) Payload() []byte

func (*RequestForGetIndex) Query added in v0.0.5

func (req *RequestForGetIndex) Query() string

func (*RequestForGetIndex) ResponseCode added in v0.0.5

func (req *RequestForGetIndex) ResponseCode() int

type ResponseForDeleteIndex added in v0.0.5

type ResponseForDeleteIndex struct {
	Code  int    `json:"code,omitempty"`
	Error bool   `json:"error,omitempty"`
	Id    string `json:"id,omitempty"`
}

func NewResponseForDeleteIndex added in v0.0.5

func NewResponseForDeleteIndex() *ResponseForDeleteIndex

func (*ResponseForDeleteIndex) IsResponse added in v0.0.5

func (r *ResponseForDeleteIndex) IsResponse()

func (ResponseForDeleteIndex) String added in v0.0.5

func (r ResponseForDeleteIndex) String() string

type ResponseForGetAllIndices

type ResponseForGetAllIndices struct {
	Error   bool    `json:"error,omitempty"`
	Code    int     `json:"code,omitempty"`
	Indexes []Index `json:"indexes,omitempty"`
}

func NewResponseForGetAllIndices

func NewResponseForGetAllIndices() *ResponseForGetAllIndices

func (*ResponseForGetAllIndices) IsResponse

func (r *ResponseForGetAllIndices) IsResponse()

func (ResponseForGetAllIndices) String

func (r ResponseForGetAllIndices) String() string

Jump to

Keyboard shortcuts

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