|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.seasar.doma.jdbc.dialect.StandardDialect.StandardExpressionFunctions
public static class StandardDialect.StandardExpressionFunctions
標準の ExpressionFunctions の実装です。
| フィールドの概要 | |
|---|---|
protected String |
defaultReplacement
デフォルトの置換文字列正規表現 |
protected Pattern |
defaultWildcardReplacementPattern
デフォルトのワイルドカード置換パターン |
protected char |
escapeChar
エスケープ文字 |
protected char[] |
wildcards
ワイルドカード |
| コンストラクタの概要 | |
|---|---|
protected |
StandardDialect.StandardExpressionFunctions()
コンストラクタを構築します。 |
protected |
StandardDialect.StandardExpressionFunctions(char[] wildcards)
ワイルドカードを指定してコンストラクタを構築します。 |
protected |
StandardDialect.StandardExpressionFunctions(char escapeChar,
char[] wildcards)
エスケープ文字とワイルドカードを指定してコンストラクタを構築します。 |
protected |
StandardDialect.StandardExpressionFunctions(char escapeChar,
char[] wildcards,
Pattern defaultWildcardReplacementPattern,
String defaultReplacement)
エスケープ文字とワイルドカードを指定してコンストラクタを構築します。 |
| メソッドの概要 | |
|---|---|
String |
contain(String text)
中間一致検索を行うことを示します。 |
String |
contain(String text,
char escapeChar)
エスケープ文字を指定して中間一致検索を行うことを示します。 |
protected String |
createWildcardReplacement(char escapeChar)
ワイルドカード置換文字列正規表現を作成します。 |
protected Pattern |
createWildcardReplacementPattern(char escapeChar,
char[] wildcards)
ワイルドカード置換パターンを作成します。 |
String |
escape(String text)
Like演算子用のエスケープを行います。 |
String |
escape(String text,
char escapeChar)
Like演算子用のエスケープを行います。 |
protected String |
escapeWildcard(Pattern pattern,
String input,
String replacement)
ワイルドカードを正規表現でエスケープします。 |
protected String |
escapeWildcard(String input,
char escapeChar)
入力に含まれるワイルドカードをエスケープします。 |
String |
infix(String text)
中間一致検索を行うことを示します。 |
String |
infix(String text,
char escapeChar)
エスケープ文字を指定して中間一致検索を行うことを示します。 |
boolean |
isBlank(CharSequence charSequence)
文字シーケンスが null、もしくは文字シーケンスの長さが 0、もしくは文字シーケンスが空白だけから形成される場合
true を返します。 |
boolean |
isEmpty(CharSequence charSequence)
文字シーケンスが null、もしくは文字シーケンスの長さが 0 の場合 true を返します。 |
boolean |
isNotBlank(CharSequence charSequence)
文字シーケンスが null でない、かつ文字シーケンスの長さが 0
でない、かつ文字シーケンスが空白だけで形成されない場合 true を返します。 |
boolean |
isNotEmpty(CharSequence charSequence)
文字シーケンスが null でない、かつ文字シーケンスの長さが 0 でない場合 true
を返します。 |
protected Calendar |
makeRoundedDownClandar(Date date)
|
protected Calendar |
makeRoundedUpClandar(Date date)
|
String |
prefix(String text)
前方一致検索を行うことを示します。 |
String |
prefix(String text,
char escapeChar)
エスケープ文字を指定して前方一致検索を行うことを示します。 |
Date |
roundDownTimePart(Date date)
日付の時刻部分を切り捨てます。 |
Date |
roundDownTimePart(Date date)
日付の時刻部分を切り捨てます。 |
Timestamp |
roundDownTimePart(Timestamp timestamp)
タイムスタンプの時刻部分を切り捨てます。 |
Date |
roundUpTimePart(Date date)
日付の時刻部分を切り上げます。 |
Date |
roundUpTimePart(Date date)
日付の時刻部分を切り上げます。 |
Timestamp |
roundUpTimePart(Timestamp timestamp)
タイムスタンプの時刻部分を切り上げます。 |
String |
suffix(String text)
後方一致検索を行うことを示します。 |
String |
suffix(String text,
char escapeChar)
エスケープ文字を指定して後方一致検索を行うことを示します。 |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected final char escapeChar
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 escapeChar,
char[] wildcards)
escapeChar - エスケープ文字wildcards - ワイルドカード
protected StandardDialect.StandardExpressionFunctions(char escapeChar,
char[] wildcards,
Pattern defaultWildcardReplacementPattern,
String defaultReplacement)
escapeChar - エスケープ文字wildcards - ワイルドカード| メソッドの詳細 |
|---|
public String escape(String text,
char escapeChar)
ExpressionFunctions の記述:
ExpressionFunctions 内の escapetext - エスケープ対象の文字列escapeChar - エスケープ文字
public String escape(String text)
ExpressionFunctions の記述:
ExpressionFunctions 内の escapetext - エスケープ対象の文字列
public String prefix(String text)
ExpressionFunctions の記述:
ExpressionFunctions 内の prefixtext - 前に置かれる文字列
public String prefix(String text,
char escapeChar)
ExpressionFunctions の記述:
ExpressionFunctions 内の prefixtext - 前に置かれる文字列escapeChar - エスケープ文字
public String suffix(String text)
ExpressionFunctions の記述:
ExpressionFunctions 内の suffixtext - 後に置かれる文字列
public String suffix(String text,
char escapeChar)
ExpressionFunctions の記述:
ExpressionFunctions 内の suffixtext - 後に置かれる文字列escapeChar - エスケープ文字
public String infix(String text)
ExpressionFunctions の記述:
ExpressionFunctions 内の infixtext - 含まれる文字列
public String infix(String text,
char escapeChar)
ExpressionFunctions の記述:
ExpressionFunctions 内の infixtext - 含まれる文字列escapeChar - エスケープ文字
public String contain(String text)
ExpressionFunctions の記述:
ExpressionFunctions 内の containtext - 含まれる文字列
public String contain(String text,
char escapeChar)
ExpressionFunctions の記述:
ExpressionFunctions 内の containtext - 含まれる文字列escapeChar - エスケープ文字
protected String escapeWildcard(String input,
char escapeChar)
input - 入力escapeChar - エスケープ文字
protected String escapeWildcard(Pattern pattern,
String input,
String replacement)
pattern - パターンinput - 入力replacement - 置換文字列正規表現
public Date roundDownTimePart(Date date)
ExpressionFunctions の記述:
ExpressionFunctions 内の roundDownTimePartdate - 日付
public Date roundDownTimePart(Date date)
ExpressionFunctions の記述:
ExpressionFunctions 内の roundDownTimePartdate - 日付
public Timestamp roundDownTimePart(Timestamp timestamp)
ExpressionFunctions の記述:
ExpressionFunctions 内の roundDownTimeParttimestamp - タイムスタンプ
protected Calendar makeRoundedDownClandar(Date date)
public Date roundUpTimePart(Date date)
ExpressionFunctions の記述:
ExpressionFunctions 内の roundUpTimePartdate - 日付
public Date roundUpTimePart(Date date)
ExpressionFunctions の記述:
ExpressionFunctions 内の roundUpTimePartdate - 日付
public Timestamp roundUpTimePart(Timestamp timestamp)
ExpressionFunctions の記述:
ExpressionFunctions 内の roundUpTimeParttimestamp - タイムスタンプ
protected Calendar makeRoundedUpClandar(Date date)
protected Pattern createWildcardReplacementPattern(char escapeChar,
char[] wildcards)
escapeChar - エスケープ文字wildcards - ワイルドカード
protected String createWildcardReplacement(char escapeChar)
escapeChar - エスケープ
public boolean isEmpty(CharSequence charSequence)
ExpressionFunctions の記述:null、もしくは文字シーケンスの長さが 0 の場合 true を返します。
ExpressionFunctions 内の isEmptycharSequence - 文字シーケンス
null、もしくは文字シーケンスの長さが 0 の場合 truepublic boolean isNotEmpty(CharSequence charSequence)
ExpressionFunctions の記述:null でない、かつ文字シーケンスの長さが 0 でない場合 true
を返します。
ExpressionFunctions 内の isNotEmptycharSequence - 文字シーケンス
null でない、かつ文字シーケンスの長さが 0 でない場合
truepublic boolean isBlank(CharSequence charSequence)
ExpressionFunctions の記述:null、もしくは文字シーケンスの長さが 0、もしくは文字シーケンスが空白だけから形成される場合
true を返します。
ExpressionFunctions 内の isBlankcharSequence - 文字シーケンス
null、もしくは文字シーケンスの長さが 0
、もしくは文字シーケンスが空白だけから形成される場合 truepublic boolean isNotBlank(CharSequence charSequence)
ExpressionFunctions の記述:null でない、かつ文字シーケンスの長さが 0
でない、かつ文字シーケンスが空白だけで形成されない場合 true を返します。
ExpressionFunctions 内の isNotBlankcharSequence - 文字シーケンス
null でない、かつ文字シーケンスの長さが 0
でない、かつ文字シーケンスが空白だけで形成されない場合 true
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||