mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 01:28:27 +08:00
20 lines
507 B
Go
20 lines
507 B
Go
package indexparamcheck
|
|
|
|
import "github.com/milvus-io/milvus-proto/go-api/v2/schemapb"
|
|
|
|
type binFlatChecker struct {
|
|
binaryVectorBaseChecker
|
|
}
|
|
|
|
func (c binFlatChecker) CheckTrain(dataType schemapb.DataType, params map[string]string) error {
|
|
return c.binaryVectorBaseChecker.CheckTrain(dataType, params)
|
|
}
|
|
|
|
func (c binFlatChecker) StaticCheck(dataType schemapb.DataType, params map[string]string) error {
|
|
return c.staticCheck(params)
|
|
}
|
|
|
|
func newBinFlatChecker() IndexChecker {
|
|
return &binFlatChecker{}
|
|
}
|