Package ai.vespa.client.dsl
Class A
java.lang.Object
ai.vespa.client.dsl.A
Helper class for generating Annotation
https://docs.vespa.ai/en/reference/query-language-reference.html#annotations
-
Method Summary
Modifier and TypeMethodDescriptionstatic AnnotationArbitrary key-value pair annotation.static Annotationstatic Annotationstatic Annotationstatic Annotationa(String n1, Object v1, String n2, Object v2, String n3, Object v3, String n4, Object v4, String n5, Object v5) static Annotationa(String n1, Object v1, String n2, Object v2, String n3, Object v3, String n4, Object v4, String n5, Object v5, String n6, Object v6) static AnnotationArbitrary annotation given by the map.static AnnotationdefaultIndex(String index) Default index annotation.static Annotationempty()Empty annotation.static Annotationfilter()Filter annotation.
-
Method Details
-
empty
Empty annotation.- Returns:
- the annotation
-
filter
Filter annotation.- Returns:
- the annotation
-
defaultIndex
Default index annotation.- Parameters:
index- the search index- Returns:
- the annotation
-
a
Arbitrary key-value pair annotation.- Parameters:
name- the namevalue- the value- Returns:
- the annotation
-
a
Arbitrary annotation given by the map.- Parameters:
annotation- the annotation- Returns:
- the annotation
-
a
-
a
-
a
-
a
-
a
-