Discover Packages
github.com/riptano/cassandra-data-apis
types
package
Version:
v1.0.2
Opens a new window with list of versions in this module.
Published: Jun 18, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
types package contains the public API types
that are shared between both REST and GraphQL
type ConditionItem struct {
Column string
Operator string
Value interface{}
}
type ModificationResult struct {
Applied bool `json:"applied"`
Value map[string ]interface{} `json:"value"`
}
type MutationOptions struct {
TTL int `json:"ttl"`
Consistency int `json:"consistency"`
SerialConsistency int `json:"serialConsistency"`
}
type QueryOptions struct {
PageState string `json:"pageState"`
PageSize int `json:"pageSize"`
Limit int `json:"limit"`
Consistency int `json:"consistency"`
SerialConsistency int `json:"serialConsistency"`
}
type QueryResult struct {
PageState string `json:"pageState"`
Values []map[string ]interface{} `json:"values"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.