Package com.illumon.iris.db.tables.utils
Interface ExpressionFactory<TYPE>
- Type Parameters:
TYPE
-
- All Known Implementing Classes:
AbstractExpressionFactory
public interface ExpressionFactory<TYPE>
A Factory class that produces
ExpressionFactory
instances based on an expression.-
Method Summary
Modifier and TypeMethodDescriptiongetExpression
(String expression, Matcher matcher, Object... args) Parse the specified expression into an instance ofExpressionFactory
Get the regex pattern used to match this expression flavor.
-
Method Details
-
getExpression
Parse the specified expression into an instance ofExpressionFactory
- Parameters:
expression
- the expression to parse.matcher
- the completed matcherargs
- the arguments from the source- Returns:
- a new
ExpressionFactory
-
getPattern
Get the regex pattern used to match this expression flavor.- Returns:
- the string pattern
-