public class org.apache.drill.common.expression.ValueExpressions$Decimal38Expression extends org.apache.drill.common.expression.LogicalExpressionBase
{
private final java.math.BigDecimal bigDecimal;
public void <init>(java.math.BigDecimal, org.apache.drill.common.expression.ExpressionPosition)
{
java.math.BigDecimal v;
org.apache.drill.common.expression.ExpressionPosition v;
org.apache.drill.common.expression.ValueExpressions$Decimal38Expression v;
v := @this: org.apache.drill.common.expression.ValueExpressions$Decimal38Expression;
v := @parameter: java.math.BigDecimal;
v := @parameter: org.apache.drill.common.expression.ExpressionPosition;
specialinvoke v.<org.apache.drill.common.expression.LogicalExpressionBase: void <init>(org.apache.drill.common.expression.ExpressionPosition)>(v);
v.<org.apache.drill.common.expression.ValueExpressions$Decimal38Expression: java.math.BigDecimal bigDecimal> = v;
return;
}
public java.math.BigDecimal getBigDecimal()
{
java.math.BigDecimal v;
org.apache.drill.common.expression.ValueExpressions$Decimal38Expression v;
v := @this: org.apache.drill.common.expression.ValueExpressions$Decimal38Expression;
v = v.<org.apache.drill.common.expression.ValueExpressions$Decimal38Expression: java.math.BigDecimal bigDecimal>;
return v;
}
public org.apache.drill.common.types.TypeProtos$MajorType getMajorType()
{
org.apache.drill.common.types.TypeProtos$MajorType v;
org.apache.drill.common.expression.ValueExpressions$Decimal38Expression v;
org.apache.drill.common.types.TypeProtos$MinorType v;
java.math.BigDecimal v, v;
org.apache.drill.common.types.TypeProtos$DataMode v;
int v, v;
org.apache.drill.common.types.TypeProtos$MajorType$Builder v, v, v, v, v;
v := @this: org.apache.drill.common.expression.ValueExpressions$Decimal38Expression;
v = staticinvoke <org.apache.drill.common.types.TypeProtos$MajorType: org.apache.drill.common.types.TypeProtos$MajorType$Builder newBuilder()>();
v = <org.apache.drill.common.types.TypeProtos$MinorType: org.apache.drill.common.types.TypeProtos$MinorType DECIMAL38SPARSE>;
v = virtualinvoke v.<org.apache.drill.common.types.TypeProtos$MajorType$Builder: org.apache.drill.common.types.TypeProtos$MajorType$Builder setMinorType(org.apache.drill.common.types.TypeProtos$MinorType)>(v);
v = v.<org.apache.drill.common.expression.ValueExpressions$Decimal38Expression: java.math.BigDecimal bigDecimal>;
v = virtualinvoke v.<java.math.BigDecimal: int scale()>();
v = virtualinvoke v.<org.apache.drill.common.types.TypeProtos$MajorType$Builder: org.apache.drill.common.types.TypeProtos$MajorType$Builder setScale(int)>(v);
v = v.<org.apache.drill.common.expression.ValueExpressions$Decimal38Expression: java.math.BigDecimal bigDecimal>;
v = virtualinvoke v.<java.math.BigDecimal: int precision()>();
v = virtualinvoke v.<org.apache.drill.common.types.TypeProtos$MajorType$Builder: org.apache.drill.common.types.TypeProtos$MajorType$Builder setPrecision(int)>(v);
v = <org.apache.drill.common.types.TypeProtos$DataMode: org.apache.drill.common.types.TypeProtos$DataMode REQUIRED>;
v = virtualinvoke v.<org.apache.drill.common.types.TypeProtos$MajorType$Builder: org.apache.drill.common.types.TypeProtos$MajorType$Builder setMode(org.apache.drill.common.types.TypeProtos$DataMode)>(v);
v = virtualinvoke v.<org.apache.drill.common.types.TypeProtos$MajorType$Builder: org.apache.drill.common.types.TypeProtos$MajorType build()>();
return v;
}
public java.lang.Object accept(org.apache.drill.common.expression.visitors.ExprVisitor, java.lang.Object) throws java.lang.Exception
{
org.apache.drill.common.expression.visitors.ExprVisitor v;
java.lang.Object v, v;
org.apache.drill.common.expression.ValueExpressions$Decimal38Expression v;
v := @this: org.apache.drill.common.expression.ValueExpressions$Decimal38Expression;
v := @parameter: org.apache.drill.common.expression.visitors.ExprVisitor;
v := @parameter: java.lang.Object;
v = interfaceinvoke v.<org.apache.drill.common.expression.visitors.ExprVisitor: java.lang.Object visitDecimal38Constant(org.apache.drill.common.expression.ValueExpressions$Decimal38Expression,java.lang.Object)>(v, v);
return v;
}
public java.util.Iterator iterator()
{
java.util.Iterator v;
org.apache.drill.common.expression.ValueExpressions$Decimal38Expression v;
v := @this: org.apache.drill.common.expression.ValueExpressions$Decimal38Expression;
v = staticinvoke <java.util.Collections: java.util.Iterator emptyIterator()>();
return v;
}
}