Documentation ¶
Index ¶
Constants ¶
View Source
const ( WhereClauseWithJobID = "job_id = ?" WhereClauseWithKeyRange = "meta_key >= ? AND meta_key < ?" WhereClauseWithKeyPrefix = "meta_key like ?" WhereClauseWithFromKey = "meta_key >= ?" WhereClauseWithKey = "meta_key = ?" )
Where clause for meta kv option NOTE: 'job_id' and 'meta_key' MUST be same as backend table
Variables ¶
This section is empty.
Functions ¶
func NewClientConnImpl ¶
func NewClientConnImpl(storeConf *model.StoreConfig) (*clientConnImpl, error)
NewClientConnImpl return a new clientConnImpl
Types ¶
type ClientBuilderImpl ¶
type ClientBuilderImpl struct{}
ClientBuilderImpl is the implement of ClientBuilder for sqlkv
func (*ClientBuilderImpl) ClientType ¶
func (b *ClientBuilderImpl) ClientType() model.ClientType
ClientType implements ClientType of clientBuilder
func (*ClientBuilderImpl) NewKVClientWithNamespace ¶
func (b *ClientBuilderImpl) NewKVClientWithNamespace(cc model.ClientConn, projectID model.ProjectID, jobID model.JobID, ) (model.KVClient, error)
NewKVClientWithNamespace implements NewKVClientWithNamespace of clientBuilder
Click to show internal directories.
Click to hide internal directories.