public class SpelQueryContext extends ObjectSE
SpelQueryContext.SpelExtractor カプセル化構成のソースは、多くの場合、すべてのクエリに共通です。| 修飾子と型 | クラスと説明 |
|---|---|
static class | SpelQueryContext.EvaluatingSpelQueryContext |
class | SpelQueryContext.SpelExtractor クエリ文字列を解析し、含まれている SpEL 式を識別し、バインドパラメーターに置き換え、それらのバインドパラメーターから SpEL 式に MapSE を提供します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
static SpelQueryContext | of(@NonNull BiFunctionSE<IntegerSE, StringSE, StringSE> parameterNameSource, @NonNull BiFunctionSE<StringSE, StringSE, StringSE> replacementSource) |
SpelQueryContext.SpelExtractor | parse(StringSE query) パターン <prefix>#{<spel>} を使用して SpEL 式のクエリを解析します。接頭辞は文字 ":" または "?" です。 |
SpelQueryContext.EvaluatingSpelQueryContext | withEvaluationContextProvider(QueryMethodEvaluationContextProvider provider) 現在のものと指定された QueryMethodEvaluationContextProvider から SpelQueryContext.EvaluatingSpelQueryContext を作成します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic SpelQueryContext.SpelExtractor parse(StringSE query)
<prefix>#{<spel>}
接頭辞は文字 ":" または "?" です。解析では、単一引用符または二重引用符で囲まれた引用符付きの文字列が尊重されます。query - 上記の形式の SpEL 式を含むクエリ。null であってはなりません。SpelQueryContext.SpelExtractor。null ではないことが保証されています。public SpelQueryContext.EvaluatingSpelQueryContext withEvaluationContextProvider(QueryMethodEvaluationContextProvider provider)
QueryMethodEvaluationContextProvider から SpelQueryContext.EvaluatingSpelQueryContext を作成します。provider - null であってはなりません。public static SpelQueryContext of(@NonNull @NonNull BiFunctionSE<IntegerSE,StringSE,StringSE> parameterNameSource, @NonNull @NonNull BiFunctionSE<StringSE,StringSE,StringSE> replacementSource)
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.