Class FlexibleSearchTranslatable

    • Method Summary

      All Methods Static Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected static java.lang.String getAliasFromTypeMap​(java.util.Map<java.lang.String,​java.lang.String> typeIndexMap, java.lang.String typeIdentifier)
      returns the typeIndex associated to the given code
      abstract void toFlexibleSearch​(java.lang.StringBuilder queryBuffer, java.util.Map<java.lang.String,​java.lang.String> typeIndexMap, java.util.Map<java.lang.String,​java.lang.Object> valueMap)
      compiles this instance in order to append its query snippet and add its value(s), if any
      void toPolyglotSearch​(java.lang.StringBuilder queryBuffer, java.util.Map<java.lang.String,​java.lang.String> typeIndexMap, java.util.Map<java.lang.String,​java.lang.Object> valueMap)
      compiles this instance in order to append its query snippet and add its value(s), if any
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FlexibleSearchTranslatable

        public FlexibleSearchTranslatable()
    • Method Detail

      • toFlexibleSearch

        public abstract void toFlexibleSearch​(java.lang.StringBuilder queryBuffer,
                                              java.util.Map<java.lang.String,​java.lang.String> typeIndexMap,
                                              java.util.Map<java.lang.String,​java.lang.Object> valueMap)
        compiles this instance in order to append its query snippet and add its value(s), if any
        Parameters:
        queryBuffer - contains the query
        typeIndexMap - contains typeCode <> typeIndex mappings
        valueMap - contains valueQualifier <> value mappings
      • toPolyglotSearch

        public void toPolyglotSearch​(java.lang.StringBuilder queryBuffer,
                                     java.util.Map<java.lang.String,​java.lang.String> typeIndexMap,
                                     java.util.Map<java.lang.String,​java.lang.Object> valueMap)
        compiles this instance in order to append its query snippet and add its value(s), if any
        Parameters:
        queryBuffer - contains the query
        typeIndexMap - contains typeCode <> typeIndex mappings
        valueMap - contains valueQualifier <> value mappings
      • getAliasFromTypeMap

        protected static java.lang.String getAliasFromTypeMap​(java.util.Map<java.lang.String,​java.lang.String> typeIndexMap,
                                                              java.lang.String typeIdentifier)
        returns the typeIndex associated to the given code
        Parameters:
        typeIndexMap - map, containing all typeCode <> typeIndex mappings
        typeIdentifier - theTypeCode
        Returns:
        typeIndex