@Test public void convertToLong() { assertEquals(100, byteConverter.toLong(DEFAULT_VALUE).longValue()); }
@AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.LONG) public Long toLong(Byte value) { return value != null ? (long) value : null; }
ByteConverter implements AtlasConverter<Byte> { @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.LONG) public Long toLong(Byte value) { return value != null ? (long) value : null; } }
ByteConverter implements AtlasConverter<Byte> { @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.LONG) public Long toLong(Byte value) { return value != null ? (long) value : null; }  }
ByteConverter implements AtlasConverter<Byte> { @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.LONG) public Long toLong(Byte value) { return value != null ? (long) value : null; }  @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.DECIMAL) BigDecimal toBigDecimal(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.BIG_INTEGER) BigInteger toBigInteger(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.BOOLEAN, concerns = {AtlasConversionConcern.CONVENTION}) Boolean toBoolean(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.BYTE) Byte toByte(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.CHAR) Character toCharacter(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.DATE_TIME) Date toDate(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.DOUBLE) Double toDouble(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.FLOAT) Float toFloat(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.INTEGER) Integer toInteger(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.DATE) LocalDate toLocalDate(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.TIME) LocalTime toLocalTime(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.DATE_TIME) LocalDateTime toLocalDateTime(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.LONG) Long toLong(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.NUMBER) Number toNumber(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.SHORT) Short toShort(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.STRING, concerns = {AtlasConversionConcern.CONVENTION}) String toString(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.DATE_TIME_TZ) ZonedDateTime toZonedDateTime(Byte value); }
ByteConverter implements AtlasConverter<Byte> { @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.LONG) public Long toLong(Byte value) { return value != null ? (long) value : null; }  @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.DECIMAL) BigDecimal toBigDecimal(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.BIG_INTEGER) BigInteger toBigInteger(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.BOOLEAN, concerns = {AtlasConversionConcern.CONVENTION}) Boolean toBoolean(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.BYTE) Byte toByte(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.CHAR) Character toCharacter(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.DATE_TIME) Date toDate(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.DOUBLE) Double toDouble(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.FLOAT) Float toFloat(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.INTEGER) Integer toInteger(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.DATE) LocalDate toLocalDate(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.TIME) LocalTime toLocalTime(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.DATE_TIME) LocalDateTime toLocalDateTime(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.LONG) Long toLong(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.NUMBER) Number toNumber(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.SHORT) Short toShort(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.STRING, concerns = {AtlasConversionConcern.CONVENTION}) String toString(Byte value); @AtlasConversionInfo(sourceType = FieldType.BYTE, targetType = FieldType.DATE_TIME_TZ) ZonedDateTime toZonedDateTime(Byte value);  }