/** * Maximum precision for numeric types. * Returns null for non-numeric types. * @return */ public Integer getPrecision() { if (this.type == Type.DECIMAL_TYPE) { return typeQualifiers.getPrecision(); } return this.type.getMaxPrecision(); }
/** * Maximum precision for numeric types. * Returns null for non-numeric types. * @return */ public Integer getPrecision() { if (this.type == Type.DECIMAL_TYPE) { return typeQualifiers.getPrecision(); } return this.type.getMaxPrecision(); }
/** * Maximum precision for numeric types. * Returns null for non-numeric types. * @return */ public Integer getPrecision() { if (this.type == Type.DECIMAL_TYPE) { return typeQualifiers.getPrecision(); } return this.type.getMaxPrecision(); }
/** * Maximum precision for numeric types. * Returns null for non-numeric types. * @return */ public Integer getPrecision() { if (this.type == Type.DECIMAL_TYPE) { return typeQualifiers.getPrecision(); } return this.type.getMaxPrecision(); }
type.getMaxPrecision(), // PRECISION
type.getMaxPrecision(), // PRECISION
type.getMaxPrecision(), // PRECISION
type.getMaxPrecision(), // PRECISION