跳到主要内容
版本:v2.6.x

getFunctions()

This getter returns the list of functions defined in this FunctionScore object.

Java
public List<CreateCollectionReq.Function> getFunctions()

RETURNS:

List<CreateCollectionReq.Function>

EXCEPTIONS:

  • MilvusClientException

    This exception will be raised when any error occurs during this operation.

Example

Java
FunctionScore score = FunctionScore.builder()
.addFunction(func)
.build();
List<CreateCollectionReq.Function> functions = score.getFunctions();