Code example for BigInteger

Methods: longValue

0
		return SQL_TYPES;
	} 
	 
	@Override 
	protected Duration fromNonNullInternalType(BigInteger s) {
		return Duration.milliseconds(s.longValue());
	} 
	 
	@Override 
	protected BigInteger toNonNullInternalType(Duration value) {
		return BigInteger.valueOf(value.to(TimeUnit.millisecond));
	} 
}