Package io.substrait.type
Class Type.Decimal
java.lang.Object
io.substrait.type.Type.Decimal
- All Implemented Interfaces:
FunctionArg,NullableType,ParameterizedType,TypeExpression,Type
- Direct Known Subclasses:
ImmutableType.Decimal
- Enclosing interface:
- Type
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.substrait.expression.FunctionArg
FunctionArg.FuncArgVisitor<R,C extends VisitationContext, E extends Throwable>, FunctionArg.ProtoFrom Nested classes/interfaces inherited from interface io.substrait.function.ParameterizedType
ParameterizedType.BaseParameterizedType, ParameterizedType.NullableParameterizedType, ParameterizedType.RequiredParameterizedVisitorException, ParameterizedType.StringLiteralNested classes/interfaces inherited from interface io.substrait.type.Type
Type.Binary, Type.Bool, Type.Date, Type.Decimal, Type.FixedBinary, Type.FixedChar, Type.FP32, Type.FP64, Type.Func, Type.I16, Type.I32, Type.I64, Type.I8, Type.IntervalCompound, Type.IntervalDay, Type.IntervalYear, Type.ListType, Type.Map, Type.Parameter, Type.ParameterBooleanValue, Type.ParameterDataType, Type.ParameterEnumValue, Type.ParameterIntegerValue, Type.ParameterNull, Type.ParameterStringValue, Type.PrecisionTime, Type.PrecisionTimestamp, Type.PrecisionTimestampTZ, Type.Str, Type.Struct, Type.Time, Type.Timestamp, Type.TimestampTZ, Type.UserDefined, Type.UUID, Type.VarCharNested classes/interfaces inherited from interface io.substrait.function.TypeExpression
TypeExpression.BaseTypeExpression, TypeExpression.BinaryOperation, TypeExpression.IfOperation, TypeExpression.IntegerLiteral, TypeExpression.NotOperation, TypeExpression.RequiredTypeExpressionVisitorException, TypeExpression.ReturnProgram -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R,E extends Throwable>
Raccept(TypeVisitor<R, E> typeVisitor) builder()abstract intabstract intscale()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.substrait.function.NullableType
nullableMethods inherited from interface io.substrait.function.ParameterizedType
isWildcardMethods inherited from interface io.substrait.type.Type
accept, equalsIgnoringNullability, withNullable
-
Constructor Details
-
Decimal
public Decimal()
-
-
Method Details
-
scale
public abstract int scale() -
precision
public abstract int precision() -
builder
-
accept
- Specified by:
acceptin interfaceParameterizedType- Specified by:
acceptin interfaceType- Specified by:
acceptin interfaceTypeExpression- Throws:
E extends Throwable
-