Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,17 @@ public Column[] getColumns(int[] columnIndexes) {
return columns;
}

/**
* Collected all columns into a column array. Note that the timestamps are at the last column.
*
* @return column array composed of all columns.
*/
public Column[] getAllColumns() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add java doc for this method, specially for its return value

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Column[] columns = Arrays.copyOf(valueColumns, valueColumns.length + 1);
columns[valueColumns.length] = timeColumn;
return columns;
}

public TsBlockSingleColumnIterator getTsBlockSingleColumnIterator() {
return new TsBlockSingleColumnIterator(0);
}
Expand Down