Method
top
(int numRows, String orderColumns, String mode)
Source from the content-addressed store, hash-verified
| 63 | } |
| 64 | |
| 65 | public List<String> top(int numRows, String orderColumns, String mode) throws DDFException { |
| 66 | |
| 67 | DDF temp = sql2ddf(String.format("SELECT * FROM %%s order by %s %s", orderColumns, mode), |
| 68 | String.format("Unable to fetch %d row(s) from table %%s", numRows)); |
| 69 | |
| 70 | return (temp.VIEWS.head(numRows)); |
| 71 | } |
| 72 | |
| 73 | @Override |
| 74 | public DDF project(String... columnNames) throws DDFException { |
Callers
nothing calls this directly
Tested by
no test coverage detected