
com.groupbyinc.flux.search.fetch.source.FetchSourceSubPhase.class Maven / Gradle / Ivy
???? 3 ? ;com/groupbyinc/flux/search/fetch/source/FetchSourceSubPhase java/lang/Object .com/groupbyinc/flux/search/fetch/FetchSubPhase FetchSourceSubPhase.java Ecom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder =com/groupbyinc/flux/common/google/common/collect/ImmutableMap
Builder 9com/groupbyinc/flux/search/fetch/FetchSubPhase$HitContext
HitContext $assertionsDisabled Z ()V *Lcom/groupbyinc/flux/common/inject/Inject;
this =Lcom/groupbyinc/flux/search/fetch/source/FetchSourceSubPhase;
parseElements ()Ljava/util/Map; builder I()Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder;
_source ?com/groupbyinc/flux/search/fetch/source/FetchSourceParseElement !
" put m(Ljava/lang/Object;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder; $ %
& build A()Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap; ( )
* ?Lcom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder; GLcom/groupbyinc/flux/common/google/common/collect/ImmutableMap$Builder; hitsExecutionNeeded 6(Lcom/groupbyinc/flux/search/internal/SearchContext;)Z context 3Lcom/groupbyinc/flux/search/internal/SearchContext; hitsExecute n(Lcom/groupbyinc/flux/search/internal/SearchContext;[Lcom/groupbyinc/flux/search/internal/InternalSearchHit;)V hits 8[Lcom/groupbyinc/flux/search/internal/InternalSearchHit; hitExecutionNeeded 1com/groupbyinc/flux/search/internal/SearchContext 7 sourceRequested ()Z 9 :
8 ;
hitExecute q(Lcom/groupbyinc/flux/search/internal/SearchContext;Lcom/groupbyinc/flux/search/fetch/FetchSubPhase$HitContext;)V java/io/IOException ? fetchSourceContext >()Lcom/groupbyinc/flux/search/fetch/source/FetchSourceContext; A B
8 C E :com/groupbyinc/flux/search/fetch/source/FetchSourceContext G fetchSource I :
H J java/lang/AssertionError L
M includes ()[Ljava/lang/String; O P
H Q excludes S P
H T hit 9()Lcom/groupbyinc/flux/search/internal/InternalSearchHit; V W
X lookup 2()Lcom/groupbyinc/flux/search/lookup/SearchLookup; Z [
8 \ .com/groupbyinc/flux/search/lookup/SearchLookup ^ source 2()Lcom/groupbyinc/flux/search/lookup/SourceLookup; ` a
_ b .com/groupbyinc/flux/search/lookup/SourceLookup d internalSourceRef 3()Lcom/groupbyinc/flux/common/bytes/BytesReference; f g
e h 5com/groupbyinc/flux/search/internal/InternalSearchHit j sourceRef j(Lcom/groupbyinc/flux/common/bytes/BytesReference;)Lcom/groupbyinc/flux/search/internal/InternalSearchHit; l m
k n filter :([Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/Object; p q
e r /com/groupbyinc/flux/common/bytes/BytesReference t length ()I v w u x java/lang/Math z min (II)I | }
{ ~ 6com/groupbyinc/flux/common/io/stream/BytesStreamOutput ? (I)V ?
? ? 3com/groupbyinc/flux/common/xcontent/XContentBuilder ? sourceContentType 4()Lcom/groupbyinc/flux/common/xcontent/XContentType; ? ?
e ? 0com/groupbyinc/flux/common/xcontent/XContentType ? xContent 0()Lcom/groupbyinc/flux/common/xcontent/XContent; ? ?
? ? G(Lcom/groupbyinc/flux/common/xcontent/XContent;Ljava/io/OutputStream;)V ?
? ? value I(Ljava/lang/Object;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; ? ?
? ? bytes ? g
? ? *com/groupbyinc/flux/ElasticsearchException ? Error filtering source ? =(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V ?
? ? initialCapacity I streamOutput 8Lcom/groupbyinc/flux/common/io/stream/BytesStreamOutput; 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; e Ljava/io/IOException;
hitContext ;Lcom/groupbyinc/flux/search/fetch/FetchSubPhase$HitContext;