private String [ ] getHeaderTokens ( Relation frame ) { final int colCount = frame . columnCount ( ) ; final String [ ] header = new String [ colCount ] ; IntStream . range ( 0 , colCount ) . forEach ( colIndex -> { header [ colIndex ] = frame . column ( colIndex ) . name ( ) ; } ) ; return header ; }
Returns the header string tokens for the frame