public class FieldPathHelper
extends java.lang.Object
| Constructor and Description |
|---|
FieldPathHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
emitFieldPath(java.lang.StringBuilder sb,
java.lang.String tableAlias,
org.ojai.FieldPath fieldPath)
Appends the specified
FieldPath string to the provided StringBuilder. |
static void |
emitQuotedFieldPath(java.lang.StringBuilder sb,
java.lang.String tableAlias,
org.ojai.FieldPath fieldPath)
Appends the specified
FieldPath string to the provided StringBuilder. |
static void |
emitQuotedFieldPath(java.lang.StringBuilder sb,
java.lang.String tableAlias,
java.lang.String fieldPathStr)
Appends the specified
FieldPath string to the provided StringBuilder. |
public static void emitQuotedFieldPath(java.lang.StringBuilder sb,
java.lang.String tableAlias,
org.ojai.FieldPath fieldPath)
FieldPath string to the provided StringBuilder.
The field path is always quoted with back-tick (`).
If the specified table alias is not null, it is prefixed to the quoted field path.public static void emitQuotedFieldPath(java.lang.StringBuilder sb,
java.lang.String tableAlias,
java.lang.String fieldPathStr)
FieldPath string to the provided StringBuilder.
The field path is always quoted with back-tick (`).
If the specified table alias is not null, it is prefixed to the quoted field path.public static void emitFieldPath(java.lang.StringBuilder sb,
java.lang.String tableAlias,
org.ojai.FieldPath fieldPath)
FieldPath string to the provided StringBuilder.
The field path is quoted with back-tick (`) only if needed.
If the specified table alias is not null, it is prefixed to the quoted field path.