setCharOctetLength(other.getCharOctetLength());
output.writeInt32(9, message.getCharMaxLength(), false); if(message.hasCharOctetLength()) output.writeInt32(10, message.getCharOctetLength(), false); if(message.hasNumericPrecision()) output.writeInt32(11, message.getNumericPrecision(), false);
private Integer getCharOctetLength(ColumnMetadata value) { if (!value.hasCharMaxLength()) { return null; } switch(value.getDataType()) { case "CHARACTER": case "CHARACTER LARGE OBJECT": case "CHARACTER VARYING": case "LONGVARCHAR": case "LONGNVARCHAR": case "NATIONAL CHARACTER": case "NATIONAL CHARACTER LARGE OBJECT": case "NATIONAL CHARACTER VARYING": return value.getCharOctetLength(); default: return null; } }
setCharOctetLength(other.getCharOctetLength());
output.writeInt32(9, message.getCharMaxLength(), false); if(message.hasCharOctetLength()) output.writeInt32(10, message.getCharOctetLength(), false); if(message.hasNumericPrecision()) output.writeInt32(11, message.getNumericPrecision(), false);
private Integer getCharOctetLength(ColumnMetadata value) { if (!value.hasCharMaxLength()) { return null; } switch(value.getDataType()) { case "CHARACTER": case "CHARACTER LARGE OBJECT": case "CHARACTER VARYING": case "LONGVARCHAR": case "LONGNVARCHAR": case "NATIONAL CHARACTER": case "NATIONAL CHARACTER LARGE OBJECT": case "NATIONAL CHARACTER VARYING": return value.getCharOctetLength(); default: return null; } }