@Test public void testGetNativeDataType() throws UnknownHostException, KettleValueException { ValueMetaInterface vmi = new ValueMetaInternetAddress( "Test" ); InetAddress expected = InetAddress.getByAddress( new byte[] { (byte) 192, (byte) 168, 1, 1 } ); assertEquals( ValueMetaInterface.TYPE_INET, vmi.getType() ); assertEquals( ValueMetaInterface.STORAGE_TYPE_NORMAL, vmi.getStorageType() ); assertSame( expected, vmi.getNativeDataType( expected ) ); }
@Override public Object getNativeDataType( Object object ) throws KettleValueException { return getInternetAddress( object ); }
ValueMetaInternetAddress extends ValueMetaDate { @Override public Object getNativeDataType( Object object ) throws KettleValueException { return getInternetAddress( object ); } }
ValueMetaInternetAddress extends ValueMetaDate { @Override public Object getNativeDataType( Object object ) throws KettleValueException { return getInternetAddress( object ); } ValueMetaInternetAddress();  ValueMetaInternetAddress( String name ); }
ValueMetaInternetAddress extends ValueMetaDate { @Override public Object getNativeDataType( Object object ) throws KettleValueException { return getInternetAddress( object ); } ValueMetaInternetAddress();  ValueMetaInternetAddress( String name ); @Override int compare( Object data1, Object data2 ); InetAddress getInternetAddress( Object object ); @Override Date getDate( Object object ); @Override Long getInteger( Object object ); @Override Double getNumber( Object object ); @Override BigDecimal getBigNumber( Object object ); @Override Boolean getBoolean( Object object ); @Override String getString( Object object ); @Override byte[] getBinaryString( Object object ); @Override Object convertDataFromString( String pol, ValueMetaInterface convertMeta, String nullIf, String ifNull,
    int trim_type ); @Override Object convertData( ValueMetaInterface meta2, Object data2 ); @Override Object cloneValueData( Object object ); @Override ValueMetaInterface getValueFromSQLType( DatabaseMeta databaseMeta, String name, ResultSetMetaData rm,
    int index, boolean ignoreLength, boolean lazyConversion ); @Override Object getValueFromResultSet( DatabaseInterface databaseInterface, ResultSet resultSet, int index ); @Override void setPreparedStatementValue( DatabaseMeta databaseMeta, PreparedStatement preparedStatement,
    int index, Object data ); @Override String getDatabaseColumnTypeDefinition( DatabaseInterface databaseInterface, String tk, String pk,
    boolean use_autoinc, boolean add_fieldname, boolean add_cr ); @Override Object getNativeDataType( Object object ); @Override Class<?> getNativeDataTypeClass(); }
ValueMetaInternetAddress extends ValueMetaDate { @Override public Object getNativeDataType( Object object ) throws KettleValueException { return getInternetAddress( object ); } ValueMetaInternetAddress();  ValueMetaInternetAddress( String name ); @Override int compare( Object data1, Object data2 ); InetAddress getInternetAddress( Object object ); @Override Date getDate( Object object ); @Override Long getInteger( Object object ); @Override Double getNumber( Object object ); @Override BigDecimal getBigNumber( Object object ); @Override Boolean getBoolean( Object object ); @Override String getString( Object object ); @Override byte[] getBinaryString( Object object ); @Override Object convertDataFromString( String pol, ValueMetaInterface convertMeta, String nullIf, String ifNull,
    int trim_type ); @Override Object convertData( ValueMetaInterface meta2, Object data2 ); @Override Object cloneValueData( Object object ); @Override ValueMetaInterface getValueFromSQLType( DatabaseMeta databaseMeta, String name, ResultSetMetaData rm,
    int index, boolean ignoreLength, boolean lazyConversion ); @Override Object getValueFromResultSet( DatabaseInterface databaseInterface, ResultSet resultSet, int index ); @Override void setPreparedStatementValue( DatabaseMeta databaseMeta, PreparedStatement preparedStatement,
    int index, Object data ); @Override String getDatabaseColumnTypeDefinition( DatabaseInterface databaseInterface, String tk, String pk,
    boolean use_autoinc, boolean add_fieldname, boolean add_cr ); @Override Object getNativeDataType( Object object ); @Override Class<?> getNativeDataTypeClass();  }