ai.vespa.schemals.schemadocument.resolvers.RankExpression.argument.VectorArgument Maven / Gradle / Ivy
package ai.vespa.schemals.schemadocument.resolvers.RankExpression.argument;
import java.util.Optional;
import org.eclipse.lsp4j.Diagnostic;
import ai.vespa.schemals.context.ParseContext;
import ai.vespa.schemals.tree.rankingexpression.RankNode;
/**
* VectorArgument
*/
public class VectorArgument implements Argument {
@Override
public Optional parseArgument(ParseContext context, RankNode argument) {
return Optional.empty();
}
@Override
public boolean validateArgument(RankNode arguemnts) {
return true;
}
@Override
public int getStrictness() {
return 1;
}
@Override
public String displayString() {
return "vector";
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy