Uses of Class
nzilbb.labbcat.server.search.LayerMatch
-
Packages that use LayerMatch Package Description nzilbb.labbcat.server.db MySQL implementation of LaBB-CAT's Graph Store, and all other RDBMS-related operations.nzilbb.labbcat.server.search Classes that manage definition, serializations, and deserialization of search matrices. -
-
Uses of LayerMatch in nzilbb.labbcat.server.db
Methods in nzilbb.labbcat.server.db with parameters of type LayerMatch Modifier and Type Method Description String
OneQuerySearch. generateOneSpanSql(Vector<Object> parameters, nzilbb.ag.Schema schema, nzilbb.ag.Layer spanLayer, LayerMatch layerMatch)
Create an SQL query that identifies results that match the search matrix patterns, optimised for a matrix that only searches one span layer, filling in the given lists with information about parameters to set. -
Uses of LayerMatch in nzilbb.labbcat.server.search
Methods in nzilbb.labbcat.server.search that return LayerMatch Modifier and Type Method Description LayerMatch
LayerMatch. ensurePatternAnchored()
Ensures that the pattern includes anchoring to the beginning (^) and end ($) of input.LayerMatch
Column. getFirstLayerMatch(String layerId)
Gets the first match for the given layer, if any.LayerMatch
LayerMatch. setAnchorEnd(Boolean newAnchorEnd)
Setter foranchorEnd
: Whether this condition is anchored to the end of the word token.LayerMatch
LayerMatch. setAnchorStart(Boolean newAnchorStart)
Setter foranchorStart
: Whether this condition is anchored to the start of the word token.LayerMatch
LayerMatch. setId(String newId)
Setter forid
: The Layer ID to match.LayerMatch
LayerMatch. setMax(Double newMax)
Setter formax
: The maximum value for the label.LayerMatch
LayerMatch. setMaxString(String newMax)
Setter formax
.LayerMatch
LayerMatch. setMin(Double newMin)
Setter formin
: The minimum value for the label.LayerMatch
LayerMatch. setMinString(String newMin)
Setter formin
.LayerMatch
LayerMatch. setNot(Boolean newNot)
Setter fornot
: Whether the #pattern is being negated (i.e.LayerMatch
LayerMatch. setNullBooleans()
Ensures that Boolean attributes (target
,not
,anchorStart
,anchorEnd
) have non-null values.LayerMatch
LayerMatch. setPattern(String newPattern)
Setter forpattern
: The regular expression to match the label against.LayerMatch
LayerMatch. setTarget(Boolean newTarget)
Setter fortarget
: Whether this matrix cell is the target of the search.Methods in nzilbb.labbcat.server.search that return types with arguments of type LayerMatch Modifier and Type Method Description Map<String,List<LayerMatch>>
Column. getLayers()
Getter forColumn.layers
: The layer patterns that match a word token.Stream<LayerMatch>
Matrix. layerMatchStream()
A stream of LayerMatchs defined in the matrix.Methods in nzilbb.labbcat.server.search with parameters of type LayerMatch Modifier and Type Method Description Column
Column. addLayerMatch(LayerMatch layerPattern)
Convenience builder-pattern method for adding a layer pattern.static boolean
LayerMatch. HasCondition(LayerMatch layer)
Determines whether the given LayerMatch actually specifies apattern
,min
, ormax
.static boolean
LayerMatch. IsTarget(LayerMatch layer)
Determines whether the given LayerMatch actually specifies apattern
,min
, ormax
.Method parameters in nzilbb.labbcat.server.search with type arguments of type LayerMatch Modifier and Type Method Description Column
Column. setLayers(Map<String,List<LayerMatch>> newLayers)
Setter forColumn.layers
: The layer patterns that match a word token.
-