All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ai.vespa.schemals.schemadocument.resolvers.RankExpression.argument.VectorArgument Maven / Gradle / Ivy

There is a newer version: 8.441.21
Show newest version
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