METHOD_0 ( ) { com . IDENT_0 . driver . core . ResultSet rs = org . apache . nifi . IDENT_1 . cassandra . IDENT_2 . METHOD_1 ( ) ; java . io . ByteArrayOutputStream IDENT_3 = new java . io . ByteArrayOutputStream ( ) ; long IDENT_4 = org . apache . nifi . IDENT_1 . cassandra . IDENT_5 . METHOD_2 ( rs , IDENT_3 , 0 , null ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( com . IDENT_0 . driver . core . ResultSet , java . io . IDENT_6 , long , java . util . concurrent . TimeUnit ) { final org . apache . avro . Schema schema = org . apache . nifi . IDENT_1 . cassandra . IDENT_5 . METHOD_3 ( rs ) ; final org . apache . avro . IDENT_7 . IDENT_8 IDENT_9 = new org . apache . avro . IDENT_7 . IDENT_10 . METHOD_4 ( schema ) ; final org . apache . avro . io . IDENT_11 < org . apache . avro . IDENT_7 . IDENT_8 > IDENT_12 = new org . apache . avro . IDENT_7 . METHOD_5 ( schema ) ; try ( final org . apache . avro . file . IDENT_13 < org . apache . avro . IDENT_7 . IDENT_8 > IDENT_14 = new org . apache . avro . file . METHOD_6 ( IDENT_12 ) ) { IDENT_14 . create ( schema , IDENT_15 ) ; final com . IDENT_0 . driver . core . IDENT_16 IDENT_17 = rs . METHOD_7 ( ) ; long IDENT_18 = 0 ; if ( IDENT_17 != null ) { do { int IDENT_19 = rs . METHOD_8 ( ) ; if ( IDENT_19 == 0 ) { if ( ( IDENT_20 <= 0 ) || ( IDENT_21 == null ) ) { rs . METHOD_9 ( ) . get ( ) ; } else { rs . METHOD_9 ( ) . get ( IDENT_20 , IDENT_21 ) ; } } for ( com . IDENT_0 . driver . core . IDENT_22 row : rs ) { for ( int i = 0 ; i < ( IDENT_17 . size ( ) ) ; i ++ ) { final com . IDENT_0 . driver . core . IDENT_23 IDENT_24 = IDENT_17 . getType ( i ) ; if ( row . METHOD_10 ( i ) ) { IDENT_9 . put ( i , null ) ; } else { IDENT_9 . put ( i , METHOD_11 ( row , i , IDENT_24 ) ) ; } } IDENT_14 . append ( IDENT_9 ) ; IDENT_18 += 1 ; } } while ( ! ( rs . METHOD_12 ( ) ) ) ; } return IDENT_18 ; } }
org . junit . Assert . assertEquals ( 2 , IDENT_4 )