asinfo

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AerospikeVersionSupportsSIndexContext = AerospikeVersion{6, 1, 0}
	AerospikeVersionSupportsBatchWrites   = AerospikeVersion{6, 0, 0}
)

Functions

This section is empty.

Types

type AerospikeVersion

type AerospikeVersion struct {
	Major int
	Minor int
	Patch int
}

func (AerospikeVersion) IsGreater

func (av AerospikeVersion) IsGreater(other AerospikeVersion) bool

func (AerospikeVersion) IsGreaterOrEqual

func (av AerospikeVersion) IsGreaterOrEqual(other AerospikeVersion) bool

func (AerospikeVersion) String

func (av AerospikeVersion) String() string

type InfoClient

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

func NewInfoClientFromAerospike

func NewInfoClientFromAerospike(aeroClient aerospikeClient, policy *a.InfoPolicy) *InfoClient

func (*InfoClient) GetInfo

func (ic *InfoClient) GetInfo(names ...string) (map[string]string, error)

func (*InfoClient) GetRecordCount

func (ic *InfoClient) GetRecordCount(namespace string, sets []string) (uint64, error)

GetRecordCount counts number of records in given namespace and sets.

func (*InfoClient) GetSIndexes

func (ic *InfoClient) GetSIndexes(namespace string) ([]*models.SIndex, error)

func (*InfoClient) GetUDFs

func (ic *InfoClient) GetUDFs() ([]*models.UDF, error)

func (*InfoClient) GetVersion

func (ic *InfoClient) GetVersion() (AerospikeVersion, error)

func (*InfoClient) SupportsBatchWrite

func (ic *InfoClient) SupportsBatchWrite() (bool, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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