com.groupbyinc.flux.index.mapper.ScaledFloatFieldMapper.class Maven / Gradle / Ivy
???? 4 7com/groupbyinc/flux/index/mapper/ScaledFloatFieldMapper ,com/groupbyinc/flux/index/mapper/FieldMapper ScaledFloatFieldMapper.java 9com/groupbyinc/flux/index/mapper/ScaledFloatFieldMapper$1 Pcom/groupbyinc/flux/index/mapper/ScaledFloatFieldMapper$ScaledFloatLeafFieldData ScaledFloatLeafFieldData Qcom/groupbyinc/flux/index/mapper/ScaledFloatFieldMapper$ScaledFloatIndexFieldData ScaledFloatIndexFieldData Lcom/groupbyinc/flux/index/mapper/ScaledFloatFieldMapper$ScaledFloatFieldType ScaledFloatFieldType Bcom/groupbyinc/flux/index/mapper/ScaledFloatFieldMapper$TypeParser
TypeParser ?com/groupbyinc/flux/index/mapper/ScaledFloatFieldMapper$Builder Builder 8com/groupbyinc/flux/index/mapper/FieldMapper$MultiFields MultiFields 3com/groupbyinc/flux/index/mapper/FieldMapper$CopyTo CopyTo 5com/groupbyinc/flux/common/xcontent/ToXContent$Params .com/groupbyinc/flux/common/xcontent/ToXContent Params 8com/groupbyinc/flux/common/xcontent/XContentParser$Token " 2com/groupbyinc/flux/common/xcontent/XContentParser $ Token =com/groupbyinc/flux/index/mapper/NumberFieldMapper$NumberType ' 2com/groupbyinc/flux/index/mapper/NumberFieldMapper )
NumberType CONTENT_TYPE Ljava/lang/String; scaled_float . COERCE_SETTING -Lcom/groupbyinc/flux/common/settings/Setting; BLcom/groupbyinc/flux/common/settings/Setting; includeInAll Ljava/lang/Boolean; ignoreMalformed %Lcom/groupbyinc/flux/common/Explicit; :Lcom/groupbyinc/flux/common/Explicit; coerce s(Ljava/lang/String;Lcom/groupbyinc/flux/index/mapper/MappedFieldType;Lcom/groupbyinc/flux/index/mapper/MappedFieldType;Lcom/groupbyinc/flux/common/Explicit;Lcom/groupbyinc/flux/common/Explicit;Ljava/lang/Boolean;Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/index/mapper/FieldMapper$MultiFields;Lcom/groupbyinc/flux/index/mapper/FieldMapper$CopyTo;)V(Ljava/lang/String;Lcom/groupbyinc/flux/index/mapper/MappedFieldType;Lcom/groupbyinc/flux/index/mapper/MappedFieldType;Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/index/mapper/FieldMapper$MultiFields;Lcom/groupbyinc/flux/index/mapper/FieldMapper$CopyTo;)V 9 ;
< fieldType P()Lcom/groupbyinc/flux/index/mapper/ScaledFloatFieldMapper$ScaledFloatFieldType; > ?
@ getScalingFactor ()D B C
D java/lang/Double F isFinite (D)Z H I
G J java/lang/String L 0com/groupbyinc/flux/index/mapper/MappedFieldType N #com/groupbyinc/flux/common/Explicit P java/lang/Boolean R ,com/groupbyinc/flux/common/settings/Settings T "java/lang/IllegalArgumentException V java/lang/StringBuilder X ()V 9 Z
Y [ 1[scaling_factor] must be a positive number, got [ ] append -(Ljava/lang/String;)Ljava/lang/StringBuilder; _ `
Y a (D)Ljava/lang/StringBuilder; _ c
Y d ] f toString ()Ljava/lang/String; h i
Y j (Ljava/lang/String;)V 9 l
W m 5 6 o 8 6 q 3 4 s this 9Lcom/groupbyinc/flux/index/mapper/ScaledFloatFieldMapper;
simpleName 2Lcom/groupbyinc/flux/index/mapper/MappedFieldType; defaultFieldType
indexSettings .Lcom/groupbyinc/flux/common/settings/Settings; multiFields :Lcom/groupbyinc/flux/index/mapper/FieldMapper$MultiFields; copyTo 5Lcom/groupbyinc/flux/index/mapper/FieldMapper$CopyTo;
scalingFactor D 4()Lcom/groupbyinc/flux/index/mapper/MappedFieldType; > ?
? contentType > x ? typeName ? i
O ? clone ;()Lcom/groupbyinc/flux/index/mapper/ScaledFloatFieldMapper; 0()Lcom/groupbyinc/flux/index/mapper/FieldMapper; ? ?
? parseCreateField B(Lcom/groupbyinc/flux/index/mapper/ParseContext;Ljava/util/List;)V java/io/IOException ? -com/groupbyinc/flux/index/mapper/ParseContext ? D(Ljava/lang/Boolean;Lcom/groupbyinc/flux/index/mapper/FieldMapper;)Z 3 ?
? ? parser 6()Lcom/groupbyinc/flux/common/xcontent/XContentParser; ? ?
? ? externalValueSet ()Z ? ?
? ?
externalValue ()Ljava/lang/Object; ? ?
? ? java/lang/Number ? currentToken <()Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; ? ? % ?
VALUE_NULL :Lcom/groupbyinc/flux/common/xcontent/XContentParser$Token; ? ? # ? value ? ?
Q ? booleanValue ? ?
S ? VALUE_STRING ? ? # ?
textLength ()I ? ? % ? parse I(Lcom/groupbyinc/flux/common/xcontent/XContentParser;Z)Ljava/lang/Double; ? ?
?
textOrNull ? i % ? java/lang/Object ? nullValue ? ?
? &(Ljava/lang/Object;)Ljava/lang/Double; ? ?
?
allEntries 4()Lcom/groupbyinc/flux/common/lucene/all/AllEntries; ? ?
? ? name ? i
?
? j boost ()F ? ?
? 0com/groupbyinc/flux/common/lucene/all/AllEntries ? addText ((Ljava/lang/String;Ljava/lang/String;F)V ? ?
? ? doubleValue ? C
? ? 5[scaled_float] only supports finite values, but got [ ? java/lang/Math ? round (D)J ? ?
? ? indexOptions ?()Lcom/groupbyinc/flux/common/apache/lucene/index/IndexOptions; ? ?
? ;com/groupbyinc/flux/common/apache/lucene/index/IndexOptions ? NONE =Lcom/groupbyinc/flux/common/apache/lucene/index/IndexOptions; ? ? ? ? hasDocValues ? ?
? stored ? ?
? LONG ?Lcom/groupbyinc/flux/index/mapper/NumberFieldMapper$NumberType; ? ? ( ? java/lang/Long ? valueOf (J)Ljava/lang/Long; ? ?
? createFields 9(Ljava/lang/String;Ljava/lang/Number;ZZZ)Ljava/util/List;
( java/util/List addAll (Ljava/util/Collection;)Z
Ljava/lang/Object; e $Ljava/lang/IllegalArgumentException; context /Lcom/groupbyinc/flux/index/mapper/ParseContext; fields QLjava/util/List; Ljava/util/List; Z 4Lcom/groupbyinc/flux/common/xcontent/XContentParser; numericValue Ljava/lang/Number; scaledValue J indexed docValued doMerge -(Lcom/groupbyinc/flux/index/mapper/Mapper;Z)V
explicit ?
Q! mergeWith )Lcom/groupbyinc/flux/index/mapper/Mapper; updateAllTypes other doXContentBody p(Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;ZLcom/groupbyinc/flux/common/xcontent/ToXContent$Params;)V'(
) scaling_factor+ 3com/groupbyinc/flux/common/xcontent/XContentBuilder- field J(Ljava/lang/String;D)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;/0
.1 ignore_malformed3 \(Ljava/lang/String;Ljava/lang/Boolean;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;/5
.6 8
null_value9 [(Ljava/lang/String;Ljava/lang/Object;)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;/;
.< include_in_all> J(Ljava/lang/String;Z)Lcom/groupbyinc/flux/common/xcontent/XContentBuilder;/@
.A builder 5Lcom/groupbyinc/flux/common/xcontent/XContentBuilder; includeDefaults params 7Lcom/groupbyinc/flux/common/xcontent/ToXContent$Params; objectToDouble (Ljava/lang/Object;)DHI
J (D)Ljava/lang/Double; ?L
GM (Z)D ?O %P 6com/groupbyinc/flux/common/apache/lucene/util/BytesRefR utf8ToStringT i
SU parseDouble (Ljava/lang/String;)DWX
GY ? ?
[ $java/lang/CloneNotSupportedException]
access$000 /()Lcom/groupbyinc/flux/common/settings/Setting; 0 1 a?(Ljava/lang/String;Lcom/groupbyinc/flux/index/mapper/MappedFieldType;Lcom/groupbyinc/flux/index/mapper/MappedFieldType;Lcom/groupbyinc/flux/common/Explicit;Lcom/groupbyinc/flux/common/Explicit;Ljava/lang/Boolean;Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/index/mapper/FieldMapper$MultiFields;Lcom/groupbyinc/flux/index/mapper/FieldMapper$CopyTo;Lcom/groupbyinc/flux/index/mapper/ScaledFloatFieldMapper$1;)V 9 :
d x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 ;Lcom/groupbyinc/flux/index/mapper/ScaledFloatFieldMapper$1; *a
ConstantValue Signature Code LocalVariableTable LocalVariableTypeTable LineNumberTable
StackMapTable?(Ljava/lang/String;Lcom/groupbyinc/flux/index/mapper/MappedFieldType;Lcom/groupbyinc/flux/index/mapper/MappedFieldType;Lcom/groupbyinc/flux/common/Explicit;Lcom/groupbyinc/flux/common/Explicit;Ljava/lang/Boolean;Lcom/groupbyinc/flux/common/settings/Settings;Lcom/groupbyinc/flux/index/mapper/FieldMapper$MultiFields;Lcom/groupbyinc/flux/index/mapper/FieldMapper$CopyTo;)V
Exceptions ?(Lcom/groupbyinc/flux/index/mapper/ParseContext;Ljava/util/List;)V
SourceFile InnerClasses ! , - s / 0 1 t 2 3 4 5 6 t 7 8 6 t 7 9 : u N Y*+,- ? =*? A? E9
? K?
?? $? WY? YY? \^? b
? eg? b? k? n?*? p*? r*? t? v p Y u v Y w - Y > x Y y x Y 5 6 Y 8 6 Y 3 4 Y z { Y | } Y ~ C ? ?
w Y 5 7 Y 8 7 x " H
I J %K FM LN RO XPy ) ? % M O O Q Q S U t z > ? u 2 *? ?? ? v u v x T ? i u 2 *? ?? ?? v u v x Y ? ? u 2 *? ?? ? v u v x ^ ? ? u - x+*? t*? ?>+? ?::+? ?? +? ?:? ?? ? ? ?? :? q*? r? ?? S? ?? ? ? ? ?? ? ? ? :? D*? r? ?? S? ?? ?:? :*? p? ?? S? ?? ??? ? ? :? :? *? A? ?:? ??
? ?:? +? ?*? A? ?? ?*? A? ֶ ?? ?9? K? 5*? p? ?? S? ?? ?? WY? YY? \? b? eg? b? k? n?*? A? Ek? ?7
*? A? ? ? ? 6*? A? ?6
*? A? ?6,? ?*? A? ?
?
?? W? c w z W v ? ? 3 ? ` ? |
? ? x u v x x
n 3 h ? ? ? ? e ? ? ? ? 2 F
F 2 O )
X ? w x x ? ' c
e g h i #j 0k 6l Hm Un ]o cr wy zs |t ?u ?w ?z ?{ ?} ?? ?? ?? ?? ?? ?? ?? ?? ?? ?? ????#?2?F?O?X?w?y 3 ? # % ?,V W? W? ? ?
? ? @{ ?t | u ? 8*+?+? N*-? t? t-? p?"? *-? p? p-? r?"? *-? r? r? v * 8 u v 8#$ 8% -&