Documentation ¶
Index ¶
- type Identifiers
- type Index
- type IndexEntry
- func NewResponseForCreateFulltextIndex() *IndexEntry
- func NewResponseForCreateGeoIndex() *IndexEntry
- func NewResponseForCreateHashIndex() *IndexEntry
- func NewResponseForCreatePersistentIndex() *IndexEntry
- func NewResponseForCreateSkipListIndex() *IndexEntry
- func NewResponseForCreateTTLIndex() *IndexEntry
- func NewResponseForGetIndex() *IndexEntry
- type RequestForCreateFulltextIndex
- func (req *RequestForCreateFulltextIndex) GetQueryParameter() string
- func (req *RequestForCreateFulltextIndex) HasQueryParameter() bool
- func (req *RequestForCreateFulltextIndex) Method() string
- func (req *RequestForCreateFulltextIndex) Path() string
- func (req *RequestForCreateFulltextIndex) Payload() []byte
- func (req *RequestForCreateFulltextIndex) Query() string
- func (req *RequestForCreateFulltextIndex) ResponseCode() int
- type RequestForCreateGeoIndex
- func (req *RequestForCreateGeoIndex) GetQueryParameter() string
- func (req *RequestForCreateGeoIndex) HasQueryParameter() bool
- func (req *RequestForCreateGeoIndex) Method() string
- func (req *RequestForCreateGeoIndex) Path() string
- func (req *RequestForCreateGeoIndex) Payload() []byte
- func (req *RequestForCreateGeoIndex) Query() string
- func (req *RequestForCreateGeoIndex) ResponseCode() int
- type RequestForCreateHashIndex
- func (req *RequestForCreateHashIndex) GetQueryParameter() string
- func (req *RequestForCreateHashIndex) HasQueryParameter() bool
- func (req *RequestForCreateHashIndex) Method() string
- func (req *RequestForCreateHashIndex) Path() string
- func (req *RequestForCreateHashIndex) Payload() []byte
- func (req *RequestForCreateHashIndex) Query() string
- func (req *RequestForCreateHashIndex) ResponseCode() int
- type RequestForCreatePersistentIndex
- func (req *RequestForCreatePersistentIndex) GetQueryParameter() string
- func (req *RequestForCreatePersistentIndex) HasQueryParameter() bool
- func (req *RequestForCreatePersistentIndex) Method() string
- func (req *RequestForCreatePersistentIndex) Path() string
- func (req *RequestForCreatePersistentIndex) Payload() []byte
- func (req *RequestForCreatePersistentIndex) Query() string
- func (req *RequestForCreatePersistentIndex) ResponseCode() int
- type RequestForCreateSkipListIndex
- func (req *RequestForCreateSkipListIndex) GetQueryParameter() string
- func (req *RequestForCreateSkipListIndex) HasQueryParameter() bool
- func (req *RequestForCreateSkipListIndex) Method() string
- func (req *RequestForCreateSkipListIndex) Path() string
- func (req *RequestForCreateSkipListIndex) Payload() []byte
- func (req *RequestForCreateSkipListIndex) Query() string
- func (req *RequestForCreateSkipListIndex) ResponseCode() int
- type RequestForCreateTTLIndex
- func (req *RequestForCreateTTLIndex) GetQueryParameter() string
- func (req *RequestForCreateTTLIndex) HasQueryParameter() bool
- func (req *RequestForCreateTTLIndex) Method() string
- func (req *RequestForCreateTTLIndex) Path() string
- func (req *RequestForCreateTTLIndex) Payload() []byte
- func (req *RequestForCreateTTLIndex) Query() string
- func (req *RequestForCreateTTLIndex) ResponseCode() int
- type RequestForDeleteIndex
- func (req *RequestForDeleteIndex) GetQueryParameter() string
- func (req *RequestForDeleteIndex) HasQueryParameter() bool
- func (req *RequestForDeleteIndex) Method() string
- func (req *RequestForDeleteIndex) Path() string
- func (req *RequestForDeleteIndex) Payload() []byte
- func (req *RequestForDeleteIndex) Query() string
- func (req *RequestForDeleteIndex) ResponseCode() int
- type RequestForGetAllIndices
- func (req *RequestForGetAllIndices) GetQueryParameter() string
- func (req *RequestForGetAllIndices) HasQueryParameter() bool
- func (req *RequestForGetAllIndices) Method() string
- func (req *RequestForGetAllIndices) Path() string
- func (req *RequestForGetAllIndices) Payload() []byte
- func (req *RequestForGetAllIndices) Query() string
- func (req *RequestForGetAllIndices) ResponseCode() int
- type RequestForGetIndex
- func (req *RequestForGetIndex) GetQueryParameter() string
- func (req *RequestForGetIndex) HasQueryParameter() bool
- func (req *RequestForGetIndex) Method() string
- func (req *RequestForGetIndex) Path() string
- func (req *RequestForGetIndex) Payload() []byte
- func (req *RequestForGetIndex) Query() string
- func (req *RequestForGetIndex) ResponseCode() int
- type ResponseForDeleteIndex
- type ResponseForGetAllIndices
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 (req *RequestForCreateFulltextIndex) Path() string
func (*RequestForCreateFulltextIndex) Payload ¶
func (req *RequestForCreateFulltextIndex) Payload() []byte
func (*RequestForCreateFulltextIndex) Query ¶
func (req *RequestForCreateFulltextIndex) Query() string
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 (req *RequestForCreatePersistentIndex) Method() string
func (*RequestForCreatePersistentIndex) Path ¶ added in v0.0.8
func (req *RequestForCreatePersistentIndex) Path() string
func (*RequestForCreatePersistentIndex) Payload ¶ added in v0.0.8
func (req *RequestForCreatePersistentIndex) Payload() []byte
func (*RequestForCreatePersistentIndex) Query ¶ added in v0.0.8
func (req *RequestForCreatePersistentIndex) Query() string
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 (req *RequestForCreateSkipListIndex) Path() string
func (*RequestForCreateSkipListIndex) Payload ¶ added in v0.0.8
func (req *RequestForCreateSkipListIndex) Payload() []byte
func (*RequestForCreateSkipListIndex) Query ¶ added in v0.0.8
func (req *RequestForCreateSkipListIndex) Query() string
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
Click to show internal directories.
Click to hide internal directories.