Uses of Class
com.yahoo.document.annotation.SpanList
-
Packages that use SpanList Package Description com.yahoo.document.annotation Provides classes and interfaces for creating trees of spans over string values in Vespa documents, and annotating these spans.com.yahoo.document.serialization -
-
Uses of SpanList in com.yahoo.document.annotation
Subclasses of SpanList in com.yahoo.document.annotation Modifier and Type Class Description class
AlternateSpanList
A node in aSpanNode
tree that can have a multiple trees of child nodes, each with its own probability.Methods in com.yahoo.document.annotation that return SpanList Modifier and Type Method Description SpanList
SpanList. add(SpanNode node)
Adds a child node to this SpanList.SpanList
SpanList. remove(int i)
Removes and invalidates the SpanNode at the given index from this.SpanList
SpanList. remove(SpanNode node)
Removes and invalidates the given SpanNode from this.SpanList
SpanTree. spanList()
Convenience shorthand for(SpanList)getRoot()
.Methods in com.yahoo.document.annotation with parameters of type SpanList Modifier and Type Method Description void
AlternateSpanList. move(int i, int nodeNum, SpanList target)
Moves a child of this SpanList to another SpanList.void
AlternateSpanList. move(int i, SpanNode node, SpanList target)
Moves a child of this SpanList to another SpanList.void
SpanList. move(int nodeNum, SpanList target)
Moves a child of this SpanList to another SpanList.void
SpanList. move(SpanNode node, SpanList target)
Moves a child of this SpanList to another SpanList.Constructors in com.yahoo.document.annotation with parameters of type SpanList Constructor Description SpanList(SpanList other)
Deep-copies a SpanList. -
Uses of SpanList in com.yahoo.document.serialization
Methods in com.yahoo.document.serialization with parameters of type SpanList Modifier and Type Method Description void
SpanNodeReader. read(SpanList spanList)
void
VespaDocumentDeserializer6. read(SpanList spanList)
void
SpanNodeWriter. write(SpanList spanList)
void
VespaDocumentSerializer6. write(SpanList spanList)
-