com.groupbyinc.flux.ingest.IngestDocument.class Maven / Gradle / Ivy
???? 4! )com/groupbyinc/flux/ingest/IngestDocument java/lang/Object IngestDocument.java +com/groupbyinc/flux/ingest/IngestDocument$1 3com/groupbyinc/flux/ingest/IngestDocument$FieldPath FieldPath 2com/groupbyinc/flux/ingest/IngestDocument$MetaData MetaData 1com/groupbyinc/flux/script/TemplateScript$Factory )com/groupbyinc/flux/script/TemplateScript Factory java/util/Map$Entry
java/util/Map Entry java/util/Base64$Decoder java/util/Base64 Decoder %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles Lookup
INGEST_KEY Ljava/lang/String; _ingest $ INGEST_KEY_PREFIX _ingest. '
SOURCE_PREFIX _source. * TIMESTAMP timestamp - sourceAndMetadata Ljava/util/Map; 5Ljava/util/Map; ingestMetadata ?(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Lcom/groupbyinc/flux/index/VersionType;Ljava/util/Map;)V ()V 3 5
6 java/util/HashMap 8
9 6 / 0 ; putAll (Ljava/util/Map;)V = > ? INDEX 4Lcom/groupbyinc/flux/ingest/IngestDocument$MetaData; A B C getFieldName ()Ljava/lang/String; E F
G put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; I J K TYPE M B N ID P B Q ROUTING S B T java/lang/String V java/lang/Long X %com/groupbyinc/flux/index/VersionType Z PARENT \ B ] VERSION _ B ` VERSION_TYPE b B c toString ;(Lcom/groupbyinc/flux/index/VersionType;)Ljava/lang/String; e f
[ g 2 0 i java/time/ZoneOffset k UTC Ljava/time/ZoneOffset; m n l o java/time/ZonedDateTime q now -(Ljava/time/ZoneId;)Ljava/time/ZonedDateTime; s t
r u this +Lcom/groupbyinc/flux/ingest/IngestDocument; index type id routing parent version Ljava/lang/Long; versionType 'Lcom/groupbyinc/flux/index/VersionType; source .(Lcom/groupbyinc/flux/ingest/IngestDocument;)V deepCopyMap (Ljava/util/Map;)Ljava/util/Map; ? ?
? !(Ljava/util/Map;Ljava/util/Map;)V 3 ?
? other
getFieldValue 7(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object; m(Lcom/groupbyinc/flux/ingest/IngestDocument;Ljava/lang/String;Lcom/groupbyinc/flux/ingest/IngestDocument$1;)V 3 ?
?
access$100 I(Lcom/groupbyinc/flux/ingest/IngestDocument$FieldPath;)Ljava/lang/Object; ? ?
?
access$200 J(Lcom/groupbyinc/flux/ingest/IngestDocument$FieldPath;)[Ljava/lang/String; ? ?
? java/lang/Class ? [Ljava/lang/String; ? resolve J(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; ? ?
? cast I(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object; ? ?
? pathElement path clazz Ljava/lang/Class; Ljava/lang/Class; fieldPath 5Lcom/groupbyinc/flux/ingest/IngestDocument$FieldPath; context Ljava/lang/Object; 8(Ljava/lang/String;Ljava/lang/Class;Z)Ljava/lang/Object; "java/lang/IllegalArgumentException ? ? ?
? hasField (Ljava/lang/String;)Z ? ?
? e $Ljava/lang/IllegalArgumentException;
ignoreMissing Z X(Lcom/groupbyinc/flux/script/TemplateScript$Factory;Ljava/lang/Class;)Ljava/lang/Object; renderTemplate G(Lcom/groupbyinc/flux/script/TemplateScript$Factory;)Ljava/lang/String; ? ?
? pathTemplate 3Lcom/groupbyinc/flux/script/TemplateScript$Factory; getFieldValueAsBytes (Ljava/lang/String;)[B (Ljava/lang/String;Z)[B ? ?
? ? ?
? [B ?
getDecoder ()Ljava/util/Base64$Decoder; ? ?
? e F
? decode ? ?
? java/lang/StringBuilder ?
? 6 Content field [ ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
? ? ] of unknown type [ ? getClass ()Ljava/lang/Class; ? ?
? getName ? F
? ? ], must be string or byte array ?
? ? (Ljava/lang/String;)V 3 ?
? ? object 6(Lcom/groupbyinc/flux/script/TemplateScript$Factory;)Z fieldPathTemplate (Ljava/lang/String;Z)Z ? ?
? java/lang/NumberFormatException ? get &(Ljava/lang/Object;)Ljava/lang/Object; ? ? ? java/util/List ? java/lang/Integer ? parseInt (Ljava/lang/String;)I ? ?
? ? size ()I ? [ (I)Ljava/lang/StringBuilder; ?
? *] is out of bounds for array with length [ ] as part of path [ ]
(I)Ljava/lang/Object; ? ? containsKey (Ljava/lang/Object;)Z map I !Ljava/lang/NumberFormatException; list $Ljava/util/List; Ljava/util/List; i failOutOfRange leafKey removeField 6(Lcom/groupbyinc/flux/script/TemplateScript$Factory;)V ?
! remove# ? $ field [& ] not present as part of path [( A] is not an integer, cannot be used as an index as part of path [* *(Ljava/lang/String;Ljava/lang/Throwable;)V 3,
?-# ?/ cannot remove [1 ] from null as part of path [3 ] from object of type [5 cannot resolve [7 fullPath appendFieldValue '(Ljava/lang/String;Ljava/lang/Object;)V
setFieldValue ((Ljava/lang/String;Ljava/lang/Object;Z)V<=
> value ^(Lcom/groupbyinc/flux/script/TemplateScript$Factory;Lcom/groupbyinc/flux/ingest/ValueSource;)V createTemplateModel ()Ljava/util/Map;BC
D newInstance <(Ljava/util/Map;)Lcom/groupbyinc/flux/script/TemplateScript;FG H executeJ F
K &com/groupbyinc/flux/ingest/ValueSourceM copyAndResolve #(Ljava/util/Map;)Ljava/lang/Object;OPNQ:;
S valueSource (Lcom/groupbyinc/flux/ingest/ValueSource; model cannot set [X $] with null parent as part of path [Z appendValues 6(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/List;\]
^ java/util/ArrayList`
a 6 %(Ljava/util/List;Ljava/lang/Object;)V\c
d set '(ILjava/lang/Object;)Ljava/lang/Object;fg ?h ] with parent object of type [j newMap 9Ljava/util/HashMap; Ljava/util/HashMap; newList addp ?q maybeList stream ()Ljava/util/stream/Stream;tu ?v java/util/Objectsx requireNonNullz ?
y{ "java/lang/invoke/LambdaMetafactory} metafactory ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;?
~?? (Ljava/lang/Object;)V? r accept /(Ljava/util/List;)Ljava/util/function/Consumer;?? ? java/util/stream/Stream? forEach (Ljava/util/function/Consumer;)V???? valueList Ljava/util/List<*>;
isInstance?
?? ? ?
?? ] of type [? ] cannot be cast to [? template 3 >
9? _source? extractMetadata java/util/EnumMap? (Ljava/lang/Class;)V 3?
?? values 7()[Lcom/groupbyinc/flux/ingest/IngestDocument$MetaData;??
? 5[Lcom/groupbyinc/flux/ingest/IngestDocument$MetaData;? metaData metadataMap WLjava/util/Map; getMetadata getIngestMetadata getSourceAndMetadata deepCopy? ?
? Ljava/util/Map; (I)V 3?
9? entrySet ()Ljava/util/Set;?? ?
java/util/Set? iterator ()Ljava/util/Iterator;???? java/util/Iterator? hasNext ()Z???? next ()Ljava/lang/Object;???? getKey?? ? getValue?? ?
a? ?? java/util/Arrays? copyOf ([BI)[B??
?? java/lang/Float? java/lang/Double? java/lang/Boolean? java/util/Date? clone??
?? unexpected value type [? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; ??
?? entry Ljava/util/Map$Entry<**>; Ljava/util/Map$Entry; mapValue Ljava/util/Map<**>; copy 5Ljava/util/Map; itemValue listValue bytes equals '(Ljava/lang/Object;Ljava/lang/Object;)Z??
y? obj hashCode hash ([Ljava/lang/Object;)I??
y? "IngestDocument{ sourceAndMetadata= , ingestMetadata= (C)Ljava/lang/StringBuilder; ?
?
access$300 <(Lcom/groupbyinc/flux/ingest/IngestDocument;)Ljava/util/Map; x0
access$400
ConstantValue Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable ?(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Long;Lcom/groupbyinc/flux/index/VersionType;Ljava/util/Map;)V m(Ljava/util/Map;Ljava/util/Map;)V C(Ljava/lang/String;Ljava/lang/Class;)TT; D(Ljava/lang/String;Ljava/lang/Class;Z)TT; d(Lcom/groupbyinc/flux/script/TemplateScript$Factory;Ljava/lang/Class;)TT; J(Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/List; 9(Ljava/util/List;Ljava/lang/Object;)V U(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Class;)TT; 7()Ljava/util/Map; Y()Ljava/util/Map; Z(Ljava/util/Map;)Ljava/util/Map; BootstrapMethods
SourceFile InnerClasses 1 " # % &