Documentation
¶
Index ¶
- Variables
- type AerospikeVersion
- type InfoClient
- func (ic *InfoClient) GetInfo(names ...string) (map[string]string, error)
- func (ic *InfoClient) GetRecordCount(namespace string, sets []string) (uint64, error)
- func (ic *InfoClient) GetSIndexes(namespace string) ([]*models.SIndex, error)
- func (ic *InfoClient) GetUDFs() ([]*models.UDF, error)
- func (ic *InfoClient) GetVersion() (AerospikeVersion, error)
- func (ic *InfoClient) SupportsBatchWrite() (bool, error)
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 ¶
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) GetVersion ¶
func (ic *InfoClient) GetVersion() (AerospikeVersion, error)
func (*InfoClient) SupportsBatchWrite ¶
func (ic *InfoClient) SupportsBatchWrite() (bool, error)
Click to show internal directories.
Click to hide internal directories.