testMapping.addMappedColumn( vm, true ); vm = valueMetaInterfaceFactory .createHBaseValueMetaInterface( family, colName, "Column", ValueMetaInterface.TYPE_STRING, -1, -1 ); testMapping.addMappedColumn( vm, true ); vm = valueMetaInterfaceFactory .createHBaseValueMetaInterface( family, colName, "Value", ValueMetaInterface.TYPE_STRING, -1, -1 ); testMapping.addMappedColumn( vm, true ); vm = valueMetaInterfaceFactory .createHBaseValueMetaInterface( family, colName, "Timestamp", ValueMetaInterface.TYPE_INTEGER, -1, -1 ); vm.setIsLongOrDouble( true ); testMapping.addMappedColumn( vm, true );
vm.setTableName( tableName ); vm.setMappingName( mappingName ); testMapping.addMappedColumn( vm, false ); vm.setTableName( tableName ); vm.setMappingName( mappingName ); testMapping.addMappedColumn( vm, false ); Object[] vals = { "nomVal1", "nomVal2", "nomVal3" }; vm.setIndex( vals ); testMapping.addMappedColumn( vm, false ); vm.setTableName( tableName ); vm.setMappingName( mappingName ); testMapping.addMappedColumn( vm, false ); vm.setTableName( tableName ); vm.setMappingName( mappingName ); testMapping.addMappedColumn( vm, false ); vm.setTableName( tableName ); vm.setMappingName( mappingName ); testMapping.addMappedColumn( vm, false ); vm.setTableName( tableName ); vm.setMappingName( mappingName ); testMapping.addMappedColumn( vm, false ); vm.setTableName( tableName );
vm.setType( HBaseInput.getKettleTypeByKeyType( theMapping.getKeyType() ) ); if ( includeKeyToColumns ) { theMapping.addMappedColumn( vm, isTupleMapping ); theMapping.addMappedColumn( vm, isTupleMapping ); } catch ( Exception ex ) {
vm2.setKey( true ); try { m_tableMapping.addMappedColumn( vm2, m_tableMapping.isTupleMapping() ); } catch ( Exception exception ) { exception.printStackTrace();
HBaseValueMetaInterface valueMeta = buildNonKeyValueMeta( alias, family, colName, type, column.getIndexedValues(), hBaseService ); theMapping.addMappedColumn( valueMeta, isTupleMapping ); } catch ( Exception ex ) { String message =