/** * Read from a stream. */ public StupidBackoff(StreamInput in) throws IOException { discount = in.readDouble(); }
/** * Read from a stream. */ public HoltLinearModel(StreamInput in) throws IOException { alpha = in.readDouble(); beta = in.readDouble(); }
/** * Read from a stream. */ public Laplace(StreamInput in) throws IOException { alpha = in.readDouble(); }
/** * Read from a stream. */ public InternalDerivative(StreamInput in) throws IOException { super(in); normalizationFactor = in.readDouble(); }
/** * Read from a stream. */ public ExtendedStatsBucketPipelineAggregator(StreamInput in) throws IOException { super(in); sigma = in.readDouble(); }
/** * Read from a stream. */ Bucket(StreamInput in, DocValueFormat format, boolean showDocCountError) throws IOException { super(in, format, showDocCountError); term = in.readDouble(); }
/** * Read from a stream. */ public ExtendedStatsAggregationBuilder(StreamInput in) throws IOException { super(in, ValuesSourceType.NUMERIC, ValueType.NUMERIC); sigma = in.readDouble(); }
/** * Read from a stream. */ public ExtendedStatsBucketPipelineAggregationBuilder(StreamInput in) throws IOException { super(in, NAME); sigma = in.readDouble(); }
/** * Read from a stream. */ public LinearInterpolation(StreamInput in) throws IOException { trigramLambda = in.readDouble(); bigramLambda = in.readDouble(); unigramLambda = in.readDouble(); }
/** * Read from a stream. */ public InternalWeightedAvg(StreamInput in) throws IOException { super(in); format = in.readNamedWriteable(DocValueFormat.class); sum = in.readDouble(); weight = in.readDouble(); }
/** * Read from a stream. */ public Range(StreamInput in) throws IOException { super(in.readOptionalString(), in.readDouble(), in.readDouble()); }
/** * Read from a stream. */ public InternalStats(StreamInput in) throws IOException { super(in); format = in.readNamedWriteable(DocValueFormat.class); count = in.readVLong(); min = in.readDouble(); max = in.readDouble(); sum = in.readDouble(); }
/** * Read from a stream. */ public InternalMax(StreamInput in) throws IOException { super(in); format = in.readNamedWriteable(DocValueFormat.class); max = in.readDouble(); }
public double[] readDoubleArray() throws IOException { int length = readArraySize(); double[] values = new double[length]; for (int i = 0; i < length; i++) { values[i] = readDouble(); } return values; }
/** * Read from a stream. */ public InternalMin(StreamInput in) throws IOException { super(in); format = in.readNamedWriteable(DocValueFormat.class); min = in.readDouble(); }
ComputedNodeStats(StreamInput in) throws IOException { this.nodeId = in.readString(); this.clientNum = in.readInt(); this.queueSize = in.readInt(); this.responseTime = in.readDouble(); this.serviceTime = in.readDouble(); }
/** * Read from a stream. */ public Range(StreamInput in) throws IOException { key = in.readOptionalString(); fromAsStr = in.readOptionalString(); toAsStr = in.readOptionalString(); from = in.readDouble(); to = in.readDouble(); }
public InternalMedianAbsoluteDeviation(StreamInput in) throws IOException { super(in); format = in.readNamedWriteable(DocValueFormat.class); valuesSketch = TDigestState.read(in); medianAbsoluteDeviation = in.readDouble(); }
/** * Read from a stream. */ public Bucket(StreamInput in, boolean keyed, DocValueFormat format) throws IOException { this.format = format; this.keyed = keyed; key = in.readDouble(); docCount = in.readVLong(); aggregations = InternalAggregations.readAggregations(in); }
/** * Read from a stream. */ public Bucket(StreamInput in, long subsetSize, long supersetSize, DocValueFormat format) throws IOException { super(in, subsetSize, supersetSize, format); termBytes = in.readBytesRef(); subsetDf = in.readVLong(); supersetDf = in.readVLong(); score = in.readDouble(); aggregations = InternalAggregations.readAggregations(in); }