Documentation ¶
Index ¶
- type Answer
- type Attribute
- type BooleanValue
- type Concept
- type ConceptMap
- type ConceptMapGroup
- type DateTimeValue
- type DoubleValue
- type Encoding
- type ExplainOpt
- type Explainable
- type Explainables
- type Explanation
- type InferOpt
- type Label
- type LongValue
- type Numeric
- type NumericGroup
- type NumericType
- type Options
- type Owned
- type ParallelOpt
- type PrefetchOpt
- type PrefetchSizeOpt
- type ReadAnyReplicaOpt
- type Rule
- type SchemaLockAcquireTimeoutOpt
- type SessionIdleTimeoutOpt
- type StringValue
- type Thing
- type TraceInferenceOpt
- type TransactionTimeoutOpt
- type Type
- type Value
- type ValueItem
- type ValueType
- type VarList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Answer ¶
type Answer[T Value] struct { Answers ConceptMap[T] `json:"answers,omitempty"` }
type BooleanValue ¶
type BooleanValue struct {
Value bool
}
type ConceptMap ¶
type ConceptMap[V Value] struct { Map map[string]Concept[V] `json:"map,omitempty"` Explainables Explainables `json:"explainables,omitempty"` }
type ConceptMapGroup ¶
type ConceptMapGroup[V Value] struct { Owner Concept[V] `json:"owner,omitempty"` ConceptMaps []ConceptMap[V] `json:"concept_maps,omitempty"` }
type DateTimeValue ¶
type DateTimeValue struct {
Value int64
}
type DoubleValue ¶
type DoubleValue struct {
Value float64
}
type ExplainOpt ¶
type ExplainOpt struct {
Explain bool `json:"explain,omitempty"`
}
type Explainable ¶
type Explainables ¶
type Explainables struct { Relations map[string]Explainable `json:"relations,omitempty"` Attributes map[string]Explainable `json:"attributes,omitempty"` Ownerships map[string]Owned `json:"ownerships,omitempty"` }
type Explanation ¶
type Explanation[T Value] struct { Rule Rule `json:"rule,omitempty"` VarMapping VarList `json:"var_mapping,omitempty"` Condition ConceptMap[T] `json:"condition,omitempty"` Conclusion ConceptMap[T] `json:"conclusion,omitempty"` }
type Numeric ¶
type Numeric[T NumericType] struct { Value T `json:"value,omitempty"` }
type NumericGroup ¶
type NumericGroup[T NumericType, V Value] struct { Owner Concept[V] `json:"owner,omitempty"` Numeric Numeric[T] `json:"numeric,omitempty"` }
type NumericType ¶
type Options ¶
type Options struct { InferOpt InferOpt `json:"infer_opt,omitempty"` TraceInferenceOpt TraceInferenceOpt `json:"trace_inference_opt,omitempty"` ExplainOpt ExplainOpt `json:"explain_opt,omitempty"` ParallelOpt ParallelOpt `json:"parallel_opt,omitempty"` PrefetchSizeOpt PrefetchSizeOpt `json:"prefetch_size_opt,omitempty"` PrefetchOpt PrefetchOpt `json:"prefetch_opt,omitempty"` SessionIdleTimeoutOpt SessionIdleTimeoutOpt `json:"session_idle_timeout_opt,omitempty"` TransactionTimeoutOpt TransactionTimeoutOpt `json:"transaction_timeout_opt,omitempty"` SchemaLockAcquireTimeoutOpt SchemaLockAcquireTimeoutOpt `json:"schema_lock_acquire_timeout_opt,omitempty"` ReadAnyReplicaOpt ReadAnyReplicaOpt `json:"read_any_replica_opt,omitempty"` }
type Owned ¶
type Owned struct {
Owned map[string]Explainable `json:"owned,omitempty"`
}
type ParallelOpt ¶
type ParallelOpt struct {
Parallel bool `json:"parallel,omitempty"`
}
type PrefetchOpt ¶
type PrefetchOpt struct {
Prefetch bool `json:"prefetch,omitempty"`
}
type PrefetchSizeOpt ¶
type PrefetchSizeOpt struct {
PrefetchSize bool `json:"prefetch_size,omitempty"`
}
type ReadAnyReplicaOpt ¶
type ReadAnyReplicaOpt struct {
ReadAnyReplica bool `json:"read_any_replica,omitempty"`
}
type SchemaLockAcquireTimeoutOpt ¶
type SchemaLockAcquireTimeoutOpt struct {
SchemaLockAcquireTimeoutMillis bool `json:"schema_lock_acquire_timeout_millis,omitempty"`
}
type SessionIdleTimeoutOpt ¶
type SessionIdleTimeoutOpt struct {
SessionIdleTimeoutMillis bool `json:"session_idle_timeout_millis,omitempty"`
}
type StringValue ¶
type StringValue struct {
Value string
}
type TraceInferenceOpt ¶
type TraceInferenceOpt struct {
TraceInference bool `json:"trace_inference,omitempty"`
}
type TransactionTimeoutOpt ¶
type TransactionTimeoutOpt struct {
TransactionTimeoutMillis bool `json:"transaction_timeout_millis,omitempty"`
}
type Value ¶
type Value interface { StringValue | BooleanValue | LongValue | DoubleValue | DateTimeValue }
Click to show internal directories.
Click to hide internal directories.