Interface CottontailGrpc.KnnOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    CottontailGrpc.Knn, CottontailGrpc.Knn.Builder
    Enclosing class:
    CottontailGrpc

    public static interface CottontailGrpc.KnnOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasAttribute

        boolean hasAttribute()
        .org.vitrivr.cottontail.grpc.ColumnName attribute = 1;
        Returns:
        Whether the attribute field is set.
      • getAttribute

        CottontailGrpc.ColumnName getAttribute()
        .org.vitrivr.cottontail.grpc.ColumnName attribute = 1;
        Returns:
        The attribute.
      • getK

        int getK()
        uint32 k = 2;
        Returns:
        The k.
      • getDistanceValue

        int getDistanceValue()
        .org.vitrivr.cottontail.grpc.Knn.Distance distance = 3;
        Returns:
        The enum numeric value on the wire for distance.
      • getDistance

        CottontailGrpc.Knn.Distance getDistance()
        .org.vitrivr.cottontail.grpc.Knn.Distance distance = 3;
        Returns:
        The distance.
      • hasHint

        boolean hasHint()
        .org.vitrivr.cottontail.grpc.KnnHint hint = 4;
        Returns:
        Whether the hint field is set.
      • hasQuery

        boolean hasQuery()
        .org.vitrivr.cottontail.grpc.Vector query = 5;
        Returns:
        Whether the query field is set.
      • getQuery

        CottontailGrpc.Vector getQuery()
        .org.vitrivr.cottontail.grpc.Vector query = 5;
        Returns:
        The query.
      • hasWeight

        boolean hasWeight()
        .org.vitrivr.cottontail.grpc.Vector weight = 6;
        Returns:
        Whether the weight field is set.
      • getWeight

        CottontailGrpc.Vector getWeight()
        .org.vitrivr.cottontail.grpc.Vector weight = 6;
        Returns:
        The weight.