get a random column that can be used in a condition . concode_field_sep boolean temporary concode_elem_sep Column[] primaryKeys concode_elem_sep Column[] columns concode_elem_sep ArrayList<Index> indexes concode_elem_sep String name concode_elem_sep TestSynth config concode_elem_sep boolean globalTemporary concode_field_sep Column getRandomColumn concode_elem_sep String getName concode_elem_sep void removeIndex concode_elem_sep String getCreateSQL concode_elem_sep int getColumnCount concode_elem_sep void addIndex concode_elem_sep Table newRandomTable concode_elem_sep Column[] getColumns concode_elem_sep Column getRandomColumnOfType concode_elem_sep Column[] getRandomColumns concode_elem_sep String getDropSQL concode_elem_sep String getInsertSQL concode_elem_sep Index newRandomIndex
Column function ( ) { ArrayList < Column > loc0 = New . arrayList ( ) ; for ( Column loc1 : columns ) { if ( Column . isConditionType ( config , loc1 . getType ( ) ) ) { loc0 . add ( loc1 ) ; } } if ( loc0 . size ( ) == 0 ) { return null ; } return loc0 . get ( config . random ( ) . getInt ( loc0 . size ( ) ) ) ; }