public final ParseSetup getFinalSetup ( Key [ ] inputKeys , ParseSetup demandedSetup ) { ParserProvider pp = ParserService . INSTANCE . getByInfo ( _parse_type ) ; if ( pp != null ) { ParseSetup ps = pp . createParserSetup ( inputKeys , demandedSetup ) ; if ( demandedSetup . _decrypt_tool != null ) ps . _decrypt_tool = demandedSetup . _decrypt_tool ; ps . setSkippedColumns ( demandedSetup . getSkippedColumns ( ) ) ; ps . setParseColumnIndices ( demandedSetup . getNumberColumns ( ) , demandedSetup . getSkippedColumns ( ) ) ; // final consistent check between skipped_columns and parse_columns_indices return ps ; } throw new H2OIllegalArgumentException ( "Unknown parser configuration! Configuration=" + this ) ; }
Return create a final parser - specific setup for this configuration .