Example #1
0
func (mi *mockIndexer) BuildIndexes(requestId string, names ...string) errors.Error {
	return errors.NewOtherNotSupportedError(nil, "BUILD INDEXES is not supported for mock datastore.")
}
Example #2
0
func (mi *mockIndexer) CreateIndex(requestId, name string, equalKey, rangeKey expression.Expressions,
	where expression.Expression, with value.Value) (datastore.Index, errors.Error) {
	return nil, errors.NewOtherNotSupportedError(nil, "CREATE INDEX is not supported for mock datastore.")
}