Class EsAbstractConditionQuery

    • Field Detail

      • queryBuilderList

        protected List<org.elasticsearch.index.query.QueryBuilder> queryBuilderList
      • fieldSortBuilderList

        protected List<org.elasticsearch.search.sort.FieldSortBuilder> fieldSortBuilderList
    • Constructor Detail

      • EsAbstractConditionQuery

        public EsAbstractConditionQuery()
    • Method Detail

      • getFieldSortBuilderList

        public List<org.elasticsearch.search.sort.FieldSortBuilder> getFieldSortBuilderList()
      • hasQueries

        public boolean hasQueries()
      • getQuery

        public org.elasticsearch.index.query.QueryBuilder getQuery()
      • getQueryBuilderList

        public List<org.elasticsearch.index.query.QueryBuilder> getQueryBuilderList()
      • addQuery

        public void addQuery​(org.elasticsearch.index.query.QueryBuilder queryBuilder)
      • queryString

        public void queryString​(String queryString)
      • matchAll

        public void matchAll()
      • regFunctionScoreQ

        protected org.elasticsearch.index.query.functionscore.FunctionScoreQueryBuilder regFunctionScoreQ​(org.elasticsearch.index.query.QueryBuilder queryBuilder,
                                                                                                          Collection<org.elasticsearch.index.query.functionscore.FunctionScoreQueryBuilder.FilterFunctionBuilder> list)
      • regBoolCQ

        protected org.elasticsearch.index.query.BoolQueryBuilder regBoolCQ​(List<org.elasticsearch.index.query.QueryBuilder> mustList,
                                                                           List<org.elasticsearch.index.query.QueryBuilder> shouldList,
                                                                           List<org.elasticsearch.index.query.QueryBuilder> mustNotList,
                                                                           List<org.elasticsearch.index.query.QueryBuilder> filterList)
      • regTermQ

        protected org.elasticsearch.index.query.TermQueryBuilder regTermQ​(String name,
                                                                          Object value)
      • regTermsQ

        protected org.elasticsearch.index.query.TermsQueryBuilder regTermsQ​(String name,
                                                                            Collection<?> values)
      • regIdsQ

        protected org.elasticsearch.index.query.IdsQueryBuilder regIdsQ​(Collection<String> values)
      • regMatchQ

        protected org.elasticsearch.index.query.MatchQueryBuilder regMatchQ​(String name,
                                                                            Object value)
      • regMatchPhraseQ

        protected org.elasticsearch.index.query.MatchPhraseQueryBuilder regMatchPhraseQ​(String name,
                                                                                        Object value)
      • regMatchPhrasePrefixQ

        protected org.elasticsearch.index.query.MatchPhrasePrefixQueryBuilder regMatchPhrasePrefixQ​(String name,
                                                                                                    Object value)
      • regFuzzyQ

        protected org.elasticsearch.index.query.MatchQueryBuilder regFuzzyQ​(String name,
                                                                            Object value)
      • regPrefixQ

        protected org.elasticsearch.index.query.PrefixQueryBuilder regPrefixQ​(String name,
                                                                              String prefix)
      • regRangeQ

        protected org.elasticsearch.index.query.RangeQueryBuilder regRangeQ​(String name,
                                                                            org.dbflute.cbean.ckey.ConditionKey ck,
                                                                            Object value)
      • addRangeC

        protected void addRangeC​(org.elasticsearch.index.query.RangeQueryBuilder builder,
                                 org.dbflute.cbean.ckey.ConditionKey ck,
                                 Object value)
      • regExistsQ

        protected org.elasticsearch.index.query.ExistsQueryBuilder regExistsQ​(String name)
      • regWildcardQ

        protected org.elasticsearch.index.query.WildcardQueryBuilder regWildcardQ​(String name,
                                                                                  String wildcard)
      • regRegexpQ

        protected org.elasticsearch.index.query.RegexpQueryBuilder regRegexpQ​(String name,
                                                                              String regexp)
      • regCommonTermsQ

        protected org.elasticsearch.index.query.CommonTermsQueryBuilder regCommonTermsQ​(String name,
                                                                                        Object text)
      • regMoreLikeThisQueryQ

        protected org.elasticsearch.index.query.MoreLikeThisQueryBuilder regMoreLikeThisQueryQ​(String name,
                                                                                               String[] likeTexts)
      • regSpanTermQ

        protected org.elasticsearch.index.query.SpanTermQueryBuilder regSpanTermQ​(String name,
                                                                                  String value)
      • regQ

        protected void regQ​(org.elasticsearch.index.query.QueryBuilder builder)
      • regOBA

        protected void regOBA​(String field)
      • regOBD

        protected void regOBD​(String field)
      • registerOrderBy

        protected void registerOrderBy​(String field,
                                       boolean ascOrDesc)
      • checkEsInvalidQuery

        protected void checkEsInvalidQuery​(String name,
                                           Object value)
      • checkEsInvalidQueryCollection

        protected void checkEsInvalidQueryCollection​(String name,
                                                     Collection<?> values)
      • toColumnRealName

        public org.dbflute.dbmeta.name.ColumnRealName toColumnRealName​(String columnDbName)
        Specified by:
        toColumnRealName in interface org.dbflute.cbean.ConditionQuery
      • toColumnRealName

        public org.dbflute.dbmeta.name.ColumnRealName toColumnRealName​(org.dbflute.dbmeta.info.ColumnInfo columnInfo)
        Specified by:
        toColumnRealName in interface org.dbflute.cbean.ConditionQuery
      • toColumnSqlName

        public org.dbflute.dbmeta.name.ColumnSqlName toColumnSqlName​(String columnDbName)
        Specified by:
        toColumnSqlName in interface org.dbflute.cbean.ConditionQuery
      • xgetBaseCB

        public org.dbflute.cbean.ConditionBean xgetBaseCB()
        Specified by:
        xgetBaseCB in interface org.dbflute.cbean.ConditionQuery
      • xgetBaseQuery

        public org.dbflute.cbean.ConditionQuery xgetBaseQuery()
        Specified by:
        xgetBaseQuery in interface org.dbflute.cbean.ConditionQuery
      • xgetReferrerQuery

        public org.dbflute.cbean.ConditionQuery xgetReferrerQuery()
        Specified by:
        xgetReferrerQuery in interface org.dbflute.cbean.ConditionQuery
      • xgetSqlClause

        public org.dbflute.cbean.sqlclause.SqlClause xgetSqlClause()
        Specified by:
        xgetSqlClause in interface org.dbflute.cbean.ConditionQuery
      • xgetNestLevel

        public int xgetNestLevel()
        Specified by:
        xgetNestLevel in interface org.dbflute.cbean.ConditionQuery
      • xgetNextNestLevel

        public int xgetNextNestLevel()
        Specified by:
        xgetNextNestLevel in interface org.dbflute.cbean.ConditionQuery
      • isBaseQuery

        public boolean isBaseQuery()
        Specified by:
        isBaseQuery in interface org.dbflute.cbean.ConditionQuery
      • xgetForeignPropertyName

        public String xgetForeignPropertyName()
        Specified by:
        xgetForeignPropertyName in interface org.dbflute.cbean.ConditionQuery
      • xgetRelationPath

        public String xgetRelationPath()
        Specified by:
        xgetRelationPath in interface org.dbflute.cbean.ConditionQuery
      • xgetLocationBase

        public String xgetLocationBase()
        Specified by:
        xgetLocationBase in interface org.dbflute.cbean.ConditionQuery
      • invokeValue

        public org.dbflute.cbean.cvalue.ConditionValue invokeValue​(String columnFlexibleName)
        Specified by:
        invokeValue in interface org.dbflute.cbean.ConditionQuery
      • invokeQuery

        public void invokeQuery​(String columnFlexibleName,
                                String conditionKeyName,
                                Object conditionValue)
        Specified by:
        invokeQuery in interface org.dbflute.cbean.ConditionQuery
      • invokeQuery

        public void invokeQuery​(String columnFlexibleName,
                                String conditionKeyName,
                                Object conditionValue,
                                org.dbflute.cbean.coption.ConditionOption conditionOption)
        Specified by:
        invokeQuery in interface org.dbflute.cbean.ConditionQuery
      • invokeQueryEqual

        public void invokeQueryEqual​(String columnFlexibleName,
                                     Object conditionValue)
        Specified by:
        invokeQueryEqual in interface org.dbflute.cbean.ConditionQuery
      • invokeQueryNotEqual

        public void invokeQueryNotEqual​(String columnFlexibleName,
                                        Object conditionValue)
        Specified by:
        invokeQueryNotEqual in interface org.dbflute.cbean.ConditionQuery
      • invokeOrderBy

        public void invokeOrderBy​(String columnFlexibleName,
                                  boolean isAsc)
        Specified by:
        invokeOrderBy in interface org.dbflute.cbean.ConditionQuery
      • invokeForeignCQ

        public org.dbflute.cbean.ConditionQuery invokeForeignCQ​(String foreignPropertyName)
        Specified by:
        invokeForeignCQ in interface org.dbflute.cbean.ConditionQuery
      • invokeHasForeignCQ

        public boolean invokeHasForeignCQ​(String foreignPropertyName)
        Specified by:
        invokeHasForeignCQ in interface org.dbflute.cbean.ConditionQuery
      • xregisterParameterOption

        public void xregisterParameterOption​(org.dbflute.cbean.coption.ParameterOption option)
        Specified by:
        xregisterParameterOption in interface org.dbflute.cbean.ConditionQuery
      • assertObjectNotNull

        protected void assertObjectNotNull​(String variableName,
                                           Object value)
      • toRangeDateString

        protected String toRangeDateString​(Date date,
                                           String format)