blob: 9e2a48242b17334feab68673faa0a036dc26fa0c [file] [log] [blame]
Yinzuo Jiang011f2222024-07-29 20:51:05 +02001// vim: set ft=thrift sw=4 et:
2
3# START_INDENT
4namespace cpp foo
5namespace java com.foo.thrift
6
7include "Status.thrift"
8
9// These are supporting structs for JniFrontend.java, which serves as the glue
10// between our C++ execution environment and the Java frontend.
11
12struct TSetSessionParams {
13 1: required string user
14}
15
16struct TAuthenticateParams {
17 1: required string user
18 2: required string passwd
19 3: optional string host
20 4: optional string db_name
21 5: optional list<string> table_names;
22}
23
24/* {
25 * xxxx
26 * }
27 */
28// TColumnDesc
29struct TColumnDesc {
30 // {
31 4: optional string tableName
32 5: optional string columnDefault
33 // Let FE control the type, which makes it easier to modify and display complex types
34 6: optional string columnTypeStr // deprecated
35 7: optional string dataType
36 // }
37}
38# END_INDENT