Class MockFieldMapper.FakeFieldType

java.lang.Object
org.elasticsearch.index.mapper.MappedFieldType
org.elasticsearch.index.mapper.SimpleMappedFieldType
org.elasticsearch.index.mapper.MockFieldMapper.FakeFieldType
Enclosing class:
MockFieldMapper

public static class MockFieldMapper.FakeFieldType
extends org.elasticsearch.index.mapper.SimpleMappedFieldType
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.elasticsearch.index.mapper.MappedFieldType

    org.elasticsearch.index.mapper.MappedFieldType.Relation
  • Constructor Summary

    Constructors 
    Constructor Description
    FakeFieldType​(java.lang.String name)  
  • Method Summary

    Modifier and Type Method Description
    org.apache.lucene.search.Query existsQuery​(org.elasticsearch.index.query.QueryShardContext context)  
    protected org.apache.lucene.util.BytesRef indexedValueForSearch​(java.lang.Object arg0)  
    org.apache.lucene.search.Query termQuery​(java.lang.Object arg0, org.elasticsearch.index.query.QueryShardContext arg1)  
    org.apache.lucene.search.Query termsQuery​(java.util.List<?> arg0, org.elasticsearch.index.query.QueryShardContext arg1)  
    java.lang.String typeName()  

    Methods inherited from class org.elasticsearch.index.mapper.SimpleMappedFieldType

    rangeQuery, rangeQuery

    Methods inherited from class org.elasticsearch.index.mapper.MappedFieldType

    boost, docValueFormat, eagerGlobalOrdinals, extractTerm, failIfNoDocValues, failIfNotIndexed, familyTypeName, fielddataBuilder, fuzzyQuery, getTextSearchInfo, hasDocValues, indexAnalyzer, intervals, isAggregatable, isFieldWithinQuery, isSearchable, meta, multiPhraseQuery, name, phrasePrefixQuery, phraseQuery, pointReaderIfPossible, prefixQuery, regexpQuery, setBoost, setEagerGlobalOrdinals, setIndexAnalyzer, spanPrefixQuery, updateMeta, valueForDisplay, wildcardQuery

    Methods inherited from class java.lang.Object

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

  • Method Details

    • typeName

      public java.lang.String typeName()
      Specified by:
      typeName in class org.elasticsearch.index.mapper.MappedFieldType
    • existsQuery

      public org.apache.lucene.search.Query existsQuery​(org.elasticsearch.index.query.QueryShardContext context)
      Specified by:
      existsQuery in class org.elasticsearch.index.mapper.MappedFieldType
    • indexedValueForSearch

      protected org.apache.lucene.util.BytesRef indexedValueForSearch​(java.lang.Object arg0)
    • termQuery

      public org.apache.lucene.search.Query termQuery​(java.lang.Object arg0, org.elasticsearch.index.query.QueryShardContext arg1)
      Specified by:
      termQuery in class org.elasticsearch.index.mapper.MappedFieldType
    • termsQuery

      public org.apache.lucene.search.Query termsQuery​(java.util.List<?> arg0, org.elasticsearch.index.query.QueryShardContext arg1)
      Overrides:
      termsQuery in class org.elasticsearch.index.mapper.MappedFieldType