Example #1
0
func (mi *mockIndexer) BuildIndexes(names ...string) errors.Error {
	return errors.NewOtherNotSupportedError(nil, "BUILD INDEXES is not supported for mock datastore.")
}
Example #2
0
func (mi *mockIndexer) CreateIndex(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.")
}