public abstract class Threshold extends java.lang.Object implements GenericRecord
| Modifier | Constructor and Description |
|---|---|
protected |
Threshold() |
protected |
Threshold(LittleEndianInput in)
Creates new Threshold
(创建新阈值)
|
protected |
Threshold(Threshold other) |
| Modifier and Type | Method and Description |
|---|---|
abstract Threshold |
copy() |
int |
getDataLength() |
protected Formula |
getFormula() |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
Ptg[] |
getParsedExpression() |
byte |
getType() |
java.lang.Double |
getValue() |
void |
serialize(LittleEndianOutput out) |
void |
setParsedExpression(Ptg[] ptgs) |
void |
setType(byte type) |
void |
setType(int type) |
void |
setValue(java.lang.Double value) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetGenericChildren, getGenericRecordTypeprotected Threshold()
protected Threshold(Threshold other)
protected Threshold(LittleEndianInput in)
public byte getType()
public void setType(byte type)
public void setType(int type)
protected Formula getFormula()
public Ptg[] getParsedExpression()
public void setParsedExpression(Ptg[] ptgs)
public java.lang.Double getValue()
public void setValue(java.lang.Double value)
public int getDataLength()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties in interface
GenericRecord
(接口 GenericRecord 中的 getGenericProperties)
public java.lang.String toString()
toString in class
java.lang.Object
public void serialize(LittleEndianOutput out)
public abstract Threshold copy()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.