Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Java] Getting lists of variation, run ranges, time stamps for a given table #30

Open
DraTeots opened this issue Sep 23, 2016 · 3 comments

Comments

@DraTeots
Copy link
Contributor

No description provided.

@markito3
Copy link
Member

Nathan wants the column names as well.

@DraTeots
Copy link
Contributor Author

Actually column names are already there.

one can get columns of the table by:

 List<TypeTableColumn> columns = table.getColumns();

And then get names and types by using getName and getCellType functions (both return a String):

String columnDesc = column.getName() + "(" + column.getCellType() + ")";

I updated GetAllTables.java example file so now column names are printed too:

https://github.com/JeffersonLab/ccdb/blob/1.07/java/src/javaExamples/GetAllTables.java#L31

@DraTeots
Copy link
Contributor Author

Subissues
#38 #39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants