Documentation ¶
Index ¶
- func GetIndexOIDForResource(resource string) string
- type Store
- func (s Store) AddColumnValue(field string, index string, value valuestore.ResultValue)
- func (s Store) AddIDTags(resource string, index string, tags []string)
- func (s Store) AddScalarValue(field string, value valuestore.ResultValue)
- func (s Store) GetColumnAsByteArray(field string, index string) []byte
- func (s Store) GetColumnAsFloat(field string, index string) float64
- func (s Store) GetColumnAsString(field string, index string) string
- func (s Store) GetColumnIndexes(field string) []string
- func (s Store) GetIDTags(resource string, index string) []string
- func (s Store) GetScalarAsString(field string) string
- func (s Store) ScalarFieldHasValue(field string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIndexOIDForResource ¶
GetIndexOIDForResource returns the index OID for a specific resource
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store MetadataStore stores metadata scalarValues
func NewMetadataStore ¶
func NewMetadataStore() *Store
NewMetadataStore returns a new metadata Store
func (Store) AddColumnValue ¶
func (s Store) AddColumnValue(field string, index string, value valuestore.ResultValue)
AddColumnValue add column value to metadata store
func (Store) AddScalarValue ¶
func (s Store) AddScalarValue(field string, value valuestore.ResultValue)
AddScalarValue add scalar value to metadata store
func (Store) GetColumnAsByteArray ¶
GetColumnAsByteArray get column value as []byte
func (Store) GetColumnAsFloat ¶
GetColumnAsFloat get column value as float
func (Store) GetColumnAsString ¶
GetColumnAsString get column value as string
func (Store) GetColumnIndexes ¶
GetColumnIndexes get column indexes for a field
func (Store) GetScalarAsString ¶
GetScalarAsString get scalar value as string
func (Store) ScalarFieldHasValue ¶
ScalarFieldHasValue test if scalar field has value
Click to show internal directories.
Click to hide internal directories.