|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RegexLibrary
An interface that links with a Regex library. This interface allows the database engine to use any regular expression library that this interface can be implemented for.
| Method Summary | |
|---|---|
boolean |
regexMatch(java.lang.String regular_expression,
java.lang.String expression_ops,
java.lang.String value)
Matches a regular expression against a string value. |
IntegerVector |
regexSearch(Table table,
int column,
java.lang.String regular_expression,
java.lang.String expression_ops)
Performs a regular expression search on the given column of the table. |
| Method Detail |
|---|
boolean regexMatch(java.lang.String regular_expression,
java.lang.String expression_ops,
java.lang.String value)
regular_expression - the expression to match (eg. "[0-9]+").expression_ops - expression operator string that specifies various
flags. For example, "im" is like '/[expression]/im' in Perl.value - the string to test.
IntegerVector regexSearch(Table table,
int column,
java.lang.String regular_expression,
java.lang.String expression_ops)
table - the table to search for matching values.column - the column of the table to search for matching values.regular_expression - the expression to match (eg. "[0-9]+").expression_ops - expression operator string that specifies various
flags. For example, "im" is like '/[expression]/im' in Perl.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||