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 StringOneQuerySearch. 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 LayerMatchLayerMatch. ensurePatternAnchored()Ensures that the pattern includes anchoring to the beginning (^) and end ($) of input.LayerMatchColumn. getFirstLayerMatch(String layerId)Gets the first match for the given layer, if any.LayerMatchLayerMatch. setAnchorEnd(Boolean newAnchorEnd)Setter foranchorEnd: Whether this condition is anchored to the end of the word token.LayerMatchLayerMatch. setAnchorStart(Boolean newAnchorStart)Setter foranchorStart: Whether this condition is anchored to the start of the word token.LayerMatchLayerMatch. setCaseSensitive(Boolean newCaseSensitive)Setter forcaseSensitive: Whether thepatternis to matched in a case-sensitive manner.LayerMatchLayerMatch. setId(String newId)Setter forid: The Layer ID to match.LayerMatchLayerMatch. setMax(Double newMax)Setter formax: The maximum value for the label.LayerMatchLayerMatch. setMaxString(String newMax)Setter formax.LayerMatchLayerMatch. setMin(Double newMin)Setter formin: The minimum value for the label.LayerMatchLayerMatch. setMinString(String newMin)Setter formin.LayerMatchLayerMatch. setNot(Boolean newNot)Setter fornot: Whether thepatternis being negated (i.e.LayerMatchLayerMatch. setNullBooleans()Ensures that Boolean attributes (target,not,caseSensitive,anchorStart,anchorEnd) have non-null values.LayerMatchLayerMatch. setPattern(String newPattern)Setter forpattern: The regular expression to match the label against.LayerMatchLayerMatch. 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 ColumnColumn. addLayerMatch(LayerMatch layerPattern)Convenience builder-pattern method for adding a layer pattern.static booleanLayerMatch. HasCondition(LayerMatch layer)Determines whether the given LayerMatch actually specifies apattern,min, ormax.static booleanLayerMatch. 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 ColumnColumn. setLayers(Map<String,List<LayerMatch>> newLayers)Setter forColumn.layers: The layer patterns that match a word token.
-