|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectorg.seasar.doma.jdbc.dialect.StandardDialect.StandardExpressionFunctions
public static class StandardDialect.StandardExpressionFunctions
標準の ExpressionFunctions
の実装です。
フィールドの概要 | |
---|---|
protected String |
defaultReplacement
デフォルトの置換文字列正規表現 |
protected Pattern |
defaultWildcardReplacementPattern
デフォルトのワイルドカード置換パターン |
protected char |
escape
エスケープ文字 |
protected char[] |
wildcards
ワイルドカード |
コンストラクタの概要 | |
---|---|
protected |
StandardDialect.StandardExpressionFunctions()
コンストラクタを構築します。 |
protected |
StandardDialect.StandardExpressionFunctions(char[] wildcards)
ワイルドカードを指定してコンストラクタを構築します。 |
protected |
StandardDialect.StandardExpressionFunctions(char escape,
char[] wildcards)
エスケープ文字とワイルドカードを指定してコンストラクタを構築します。 |
メソッドの概要 | |
---|---|
String |
contain(String text)
中間一致検索を行うことを示します。 |
String |
contain(String text,
char escape)
エスケープ文字を指定して中間一致検索を行うことを示します。 |
protected static String |
createWildcardReplacement(char escape)
ワイルドカード置換文字列正規表現を作成します。 |
protected static Pattern |
createWildcardReplacementPattern(char escape,
char[] wildcards)
ワイルドカード置換パターンを作成します。 |
protected String |
escapeWildcard(Pattern pattern,
String input,
String replacement)
ワイルドカードを正規表現でエスケープします。 |
protected String |
escapeWildcard(String input,
char escape)
入力に含まれるワイルドカードをエスケープします。 |
String |
prefix(String text)
前方一致検索を行うことを示します。 |
String |
prefix(String text,
char escape)
エスケープ文字を指定して前方一致検索を行うことを示します。 |
Date |
roundDownTimePart(Date date)
日付の時刻部分を切り捨てます。 |
Timestamp |
roundDownTimePart(Timestamp timestamp)
タイムスタンプの時刻部分を切り捨てます。 |
Date |
roundUpTimePart(Date date)
日付の時刻部分を切り上げます。 |
Timestamp |
roundUpTimePart(Timestamp timestamp)
タイムスタンプの時刻部分を切り上げます。 |
String |
suffix(String text)
後方一致検索を行うことを示します。 |
String |
suffix(String text,
char escape)
エスケープ文字を指定して後方一致検索を行うことを示します。 |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
---|
protected final char escape
protected final char[] wildcards
protected final Pattern defaultWildcardReplacementPattern
protected final String defaultReplacement
コンストラクタの詳細 |
---|
protected StandardDialect.StandardExpressionFunctions()
protected StandardDialect.StandardExpressionFunctions(char[] wildcards)
wildcards
- ワイルドカードprotected StandardDialect.StandardExpressionFunctions(char escape, char[] wildcards)
escape
- エスケープ文字wildcards
- ワイルドカードメソッドの詳細 |
---|
public String prefix(String text)
ExpressionFunctions
の記述:
ExpressionFunctions
内の prefix
text
- 前に置かれる文字列
public String prefix(String text, char escape)
ExpressionFunctions
の記述:
ExpressionFunctions
内の prefix
text
- 前に置かれる文字列escape
- エスケープ文字
public String suffix(String text)
ExpressionFunctions
の記述:
ExpressionFunctions
内の suffix
text
- 後に置かれる文字列
public String suffix(String text, char escape)
ExpressionFunctions
の記述:
ExpressionFunctions
内の suffix
text
- 後に置かれる文字列escape
- エスケープ文字
public String contain(String text)
ExpressionFunctions
の記述:
ExpressionFunctions
内の contain
text
- 含まれる文字列
public String contain(String text, char escape)
ExpressionFunctions
の記述:
ExpressionFunctions
内の contain
text
- 含まれる文字列escape
- エスケープ文字
protected String escapeWildcard(String input, char escape)
input
- 入力escape
- エスケープ文字
protected String escapeWildcard(Pattern pattern, String input, String replacement)
pattern
- パターンinput
- 入力replacement
- 置換文字列正規表現
public Date roundDownTimePart(Date date)
ExpressionFunctions
の記述:
ExpressionFunctions
内の roundDownTimePart
date
- 日付
public Timestamp roundDownTimePart(Timestamp timestamp)
ExpressionFunctions
の記述:
ExpressionFunctions
内の roundDownTimePart
timestamp
- タイムスタンプ
public Date roundUpTimePart(Date date)
ExpressionFunctions
の記述:
ExpressionFunctions
内の roundUpTimePart
date
- 日付
public Timestamp roundUpTimePart(Timestamp timestamp)
ExpressionFunctions
の記述:
ExpressionFunctions
内の roundUpTimePart
timestamp
- タイムスタンプ
protected static Pattern createWildcardReplacementPattern(char escape, char[] wildcards)
escape
- エスケープ文字wildcards
- ワイルドカード
protected static String createWildcardReplacement(char escape)
escape
- エスケープ
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |