public class PlaceholderReplacer extends Object
| Constructor and Description |
|---|
PlaceholderReplacer(Expression expr) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getCount() |
Expression |
getExpression() |
boolean |
hasPlaceholder() |
PlaceholderReplacer |
replaceAll(ColumnReference ref)
Replaces all found placeholders with the passed reference.
|
PlaceholderReplacer |
replaceById(ColumnReference ref,
String placeholderId) |
public PlaceholderReplacer(Expression expr) throws MalformedExpressionException
MalformedExpressionExceptionpublic boolean hasPlaceholder()
public Integer getCount()
public PlaceholderReplacer replaceAll(ColumnReference ref) throws MalformedExpressionException
ref - MalformedExpressionExceptionpublic PlaceholderReplacer replaceById(ColumnReference ref, String placeholderId) throws MalformedExpressionException
MalformedExpressionExceptionpublic Expression getExpression()
Copyright © 2020. All Rights Reserved.