github.com/cyverse/go-irodsclient@v0.13.2/irods/common/icat_column_number.go (about)

     1  package common
     2  
     3  // ICATColumnNumber is an ICAT Column number type
     4  type ICATColumnNumber int
     5  
     6  // column numbers
     7  const (
     8  	// User
     9  	ICAT_COLUMN_USER_ID          ICATColumnNumber = 201
    10  	ICAT_COLUMN_USER_NAME        ICATColumnNumber = 202
    11  	ICAT_COLUMN_USER_TYPE        ICATColumnNumber = 203
    12  	ICAT_COLUMN_USER_ZONE        ICATColumnNumber = 204
    13  	ICAT_COLUMN_USER_INFO        ICATColumnNumber = 206
    14  	ICAT_COLUMN_USER_COMMENT     ICATColumnNumber = 207
    15  	ICAT_COLUMN_USER_CREATE_TIME ICATColumnNumber = 208
    16  	ICAT_COLUMN_USER_MODIFY_TIME ICATColumnNumber = 209
    17  
    18  	// Data Object
    19  	ICAT_COLUMN_D_DATA_ID       ICATColumnNumber = 401
    20  	ICAT_COLUMN_D_COLL_ID       ICATColumnNumber = 402
    21  	ICAT_COLUMN_DATA_NAME       ICATColumnNumber = 403 // basename
    22  	ICAT_COLUMN_DATA_REPL_NUM   ICATColumnNumber = 404
    23  	ICAT_COLUMN_DATA_VERSION    ICATColumnNumber = 405
    24  	ICAT_COLUMN_DATA_TYPE_NAME  ICATColumnNumber = 406
    25  	ICAT_COLUMN_DATA_SIZE       ICATColumnNumber = 407
    26  	ICAT_COLUMN_D_RESC_NAME     ICATColumnNumber = 409
    27  	ICAT_COLUMN_D_DATA_PATH     ICATColumnNumber = 410 // physical path on resource
    28  	ICAT_COLUMN_D_OWNER_NAME    ICATColumnNumber = 411
    29  	ICAT_COLUMN_D_OWNER_ZONE    ICATColumnNumber = 412
    30  	ICAT_COLUMN_D_REPL_STATUS   ICATColumnNumber = 413
    31  	ICAT_COLUMN_D_DATA_STATUS   ICATColumnNumber = 414
    32  	ICAT_COLUMN_D_DATA_CHECKSUM ICATColumnNumber = 415
    33  	ICAT_COLUMN_D_EXPIRY        ICATColumnNumber = 416
    34  	ICAT_COLUMN_D_MAP_ID        ICATColumnNumber = 417
    35  	ICAT_COLUMN_D_COMMENTS      ICATColumnNumber = 418
    36  	ICAT_COLUMN_D_CREATE_TIME   ICATColumnNumber = 419
    37  	ICAT_COLUMN_D_MODIFY_TIME   ICATColumnNumber = 420
    38  	ICAT_COLUMN_D_RESC_HIER     ICATColumnNumber = 422
    39  	ICAT_COLUMN_D_RESC_ID       ICATColumnNumber = 423
    40  
    41  	// Collection
    42  	ICAT_COLUMN_COLL_ID          ICATColumnNumber = 500
    43  	ICAT_COLUMN_COLL_NAME        ICATColumnNumber = 501
    44  	ICAT_COLUMN_COLL_PARENT_NAME ICATColumnNumber = 502
    45  	ICAT_COLUMN_COLL_OWNER_NAME  ICATColumnNumber = 503
    46  	ICAT_COLUMN_COLL_OWNER_ZONE  ICATColumnNumber = 504
    47  	ICAT_COLUMN_COLL_MAP_ID      ICATColumnNumber = 505
    48  	ICAT_COLUMN_COLL_INHERITANCE ICATColumnNumber = 506
    49  	ICAT_COLUMN_COLL_COMMENTS    ICATColumnNumber = 507
    50  	ICAT_COLUMN_COLL_CREATE_TIME ICATColumnNumber = 508
    51  	ICAT_COLUMN_COLL_MODIFY_TIME ICATColumnNumber = 509
    52  
    53  	// Data Object Meta
    54  	ICAT_COLUMN_META_DATA_ATTR_NAME   ICATColumnNumber = 600
    55  	ICAT_COLUMN_META_DATA_ATTR_VALUE  ICATColumnNumber = 601
    56  	ICAT_COLUMN_META_DATA_ATTR_UNITS  ICATColumnNumber = 602
    57  	ICAT_COLUMN_META_DATA_ATTR_ID     ICATColumnNumber = 603
    58  	ICAT_COLUMN_META_DATA_CREATE_TIME ICATColumnNumber = 604
    59  	ICAT_COLUMN_META_DATA_MODIFY_TIME ICATColumnNumber = 605
    60  
    61  	// Collection Meta
    62  	ICAT_COLUMN_META_COLL_ATTR_NAME   ICATColumnNumber = 610
    63  	ICAT_COLUMN_META_COLL_ATTR_VALUE  ICATColumnNumber = 611
    64  	ICAT_COLUMN_META_COLL_ATTR_UNITS  ICATColumnNumber = 612
    65  	ICAT_COLUMN_META_COLL_ATTR_ID     ICATColumnNumber = 613
    66  	ICAT_COLUMN_META_COLL_CREATE_TIME ICATColumnNumber = 614
    67  	ICAT_COLUMN_META_COLL_MODIFY_TIME ICATColumnNumber = 615
    68  
    69  	// User Meta
    70  	ICAT_COLUMN_META_USER_ATTR_NAME   ICATColumnNumber = 640
    71  	ICAT_COLUMN_META_USER_ATTR_VALUE  ICATColumnNumber = 641
    72  	ICAT_COLUMN_META_USER_ATTR_UNITS  ICATColumnNumber = 642
    73  	ICAT_COLUMN_META_USER_ATTR_ID     ICATColumnNumber = 643
    74  	ICAT_COLUMN_META_USER_CREATE_TIME ICATColumnNumber = 644
    75  	ICAT_COLUMN_META_USER_MODIFY_TIME ICATColumnNumber = 645
    76  
    77  	// Data Object Access
    78  	ICAT_COLUMN_DATA_ACCESS_TYPE     ICATColumnNumber = 700
    79  	ICAT_COLUMN_DATA_ACCESS_NAME     ICATColumnNumber = 701
    80  	ICAT_COLUMN_DATA_TOKEN_NAMESPACE ICATColumnNumber = 702
    81  	ICAT_COLUMN_DATA_ACCESS_USER_ID  ICATColumnNumber = 703
    82  	ICAT_COLUMN_DATA_ACCESS_DATA_ID  ICATColumnNumber = 704
    83  
    84  	// Collection Access
    85  	ICAT_COLUMN_COLL_ACCESS_TYPE     ICATColumnNumber = 710
    86  	ICAT_COLUMN_COLL_ACCESS_NAME     ICATColumnNumber = 711
    87  	ICAT_COLUMN_COLL_TOKEN_NAMESPACE ICATColumnNumber = 712
    88  	ICAT_COLUMN_COLL_ACCESS_USER_ID  ICATColumnNumber = 713
    89  	ICAT_COLUMN_COLL_ACCESS_COLL_ID  ICATColumnNumber = 714
    90  
    91  	// Group
    92  	ICAT_COLUMN_COLL_USER_GROUP_ID   ICATColumnNumber = 900
    93  	ICAT_COLUMN_COLL_USER_GROUP_NAME ICATColumnNumber = 901
    94  
    95  	// Resource
    96  	ICAT_COLUMN_R_RESC_ID             ICATColumnNumber = 301
    97  	ICAT_COLUMN_R_RESC_NAME           ICATColumnNumber = 302
    98  	ICAT_COLUMN_R_ZONE_NAME           ICATColumnNumber = 303
    99  	ICAT_COLUMN_R_TYPE_NAME           ICATColumnNumber = 304
   100  	ICAT_COLUMN_R_CLASS_NAME          ICATColumnNumber = 305
   101  	ICAT_COLUMN_R_LOC                 ICATColumnNumber = 306
   102  	ICAT_COLUMN_R_VAULT_PATH          ICATColumnNumber = 307
   103  	ICAT_COLUMN_R_FREE_SPACE          ICATColumnNumber = 308
   104  	ICAT_COLUMN_R_RESC_INFO           ICATColumnNumber = 309
   105  	ICAT_COLUMN_R_RESC_COMMENT        ICATColumnNumber = 310
   106  	ICAT_COLUMN_R_CREATE_TIME         ICATColumnNumber = 311
   107  	ICAT_COLUMN_R_MODIFY_TIME         ICATColumnNumber = 312
   108  	ICAT_COLUMN_R_RESC_STATUS         ICATColumnNumber = 313
   109  	ICAT_COLUMN_R_FREE_SPACE_TIME     ICATColumnNumber = 314
   110  	ICAT_COLUMN_R_RESC_CHILDREN       ICATColumnNumber = 315
   111  	ICAT_COLUMN_R_RESC_CONTEXT        ICATColumnNumber = 316
   112  	ICAT_COLUMN_R_RESC_PARENT         ICATColumnNumber = 317
   113  	ICAT_COLUMN_R_RESC_PARENT_CONTEXT ICATColumnNumber = 318
   114  
   115  	// Quota
   116  	ICAT_COLUMN_QUOTA_USER_ID           ICATColumnNumber = 2000
   117  	ICAT_COLUMN_QUOTA_RESC_ID           ICATColumnNumber = 2001
   118  	ICAT_COLUMN_QUOTA_LIMIT             ICATColumnNumber = 2002
   119  	ICAT_COLUMN_QUOTA_OVER              ICATColumnNumber = 2003
   120  	ICAT_COLUMN_QUOTA_MODIFY_TIME       ICATColumnNumber = 2004
   121  	ICAT_COLUMN_QUOTA_USAGE_USER_ID     ICATColumnNumber = 2010
   122  	ICAT_COLUMN_QUOTA_USAGE_RESC_ID     ICATColumnNumber = 2011
   123  	ICAT_COLUMN_QUOTA_USAGE             ICATColumnNumber = 2012
   124  	ICAT_COLUMN_QUOTA_USAGE_MODIFY_TIME ICATColumnNumber = 2013
   125  	ICAT_COLUMN_QUOTA_RESC_NAME         ICATColumnNumber = 2020
   126  	ICAT_COLUMN_QUOTA_USER_NAME         ICATColumnNumber = 2021
   127  	ICAT_COLUMN_QUOTA_USER_ZONE         ICATColumnNumber = 2022
   128  	ICAT_COLUMN_QUOTA_USER_TYPE         ICATColumnNumber = 2023
   129  
   130  	// Ticket
   131  	ICAT_COLUMN_TICKET_ID               ICATColumnNumber = 2200
   132  	ICAT_COLUMN_TICKET_STRING           ICATColumnNumber = 2201
   133  	ICAT_COLUMN_TICKET_TYPE             ICATColumnNumber = 2202
   134  	ICAT_COLUMN_TICKET_USER_ID          ICATColumnNumber = 2203
   135  	ICAT_COLUMN_TICKET_OBJECT_ID        ICATColumnNumber = 2204
   136  	ICAT_COLUMN_TICKET_OBJECT_TYPE      ICATColumnNumber = 2205
   137  	ICAT_COLUMN_TICKET_USES_LIMIT       ICATColumnNumber = 2206
   138  	ICAT_COLUMN_TICKET_USES_COUNT       ICATColumnNumber = 2207
   139  	ICAT_COLUMN_TICKET_EXPIRY_TS        ICATColumnNumber = 2208
   140  	ICAT_COLUMN_TICKET_WRITE_FILE_COUNT ICATColumnNumber = 2211
   141  	ICAT_COLUMN_TICKET_WRITE_FILE_LIMIT ICATColumnNumber = 2212
   142  	ICAT_COLUMN_TICKET_WRITE_BYTE_COUNT ICATColumnNumber = 2213
   143  	ICAT_COLUMN_TICKET_WRITE_BYTE_LIMIT ICATColumnNumber = 2214
   144  
   145  	ICAT_COLUMN_TICKET_ALLOWED_HOST_TICKET_ID  ICATColumnNumber = 2220
   146  	ICAT_COLUMN_TICKET_ALLOWED_HOST            ICATColumnNumber = 2221
   147  	ICAT_COLUMN_TICKET_ALLOWED_USER_TICKET_ID  ICATColumnNumber = 2222
   148  	ICAT_COLUMN_TICKET_ALLOWED_USER_NAME       ICATColumnNumber = 2223
   149  	ICAT_COLUMN_TICKET_ALLOWED_GROUP_TICKET_ID ICATColumnNumber = 2224
   150  	ICAT_COLUMN_TICKET_ALLOWED_GROUP_NAME      ICATColumnNumber = 2225
   151  	ICAT_COLUMN_TICKET_DATA_NAME               ICATColumnNumber = 2226
   152  	ICAT_COLUMN_TICKET_DATA_COLL_NAME          ICATColumnNumber = 2227
   153  	ICAT_COLUMN_TICKET_COLL_NAME               ICATColumnNumber = 2228
   154  	ICAT_COLUMN_TICKET_OWNER_NAME              ICATColumnNumber = 2229
   155  	ICAT_COLUMN_TICKET_OWNER_ZONE              ICATColumnNumber = 2230
   156  
   157  	// fake attri index for procStatOut
   158  	ICAT_COLUMN_PROCESS_ID  ICATColumnNumber = 1000001
   159  	ICAT_COLUMN_STARTTIME   ICATColumnNumber = 1000002
   160  	ICAT_COLUMN_PROXY_NAME  ICATColumnNumber = 1000003
   161  	ICAT_COLUMN_PROXY_ZONE  ICATColumnNumber = 1000004
   162  	ICAT_COLUMN_CLIENT_NAME ICATColumnNumber = 1000005
   163  	ICAT_COLUMN_CLIENT_ZONE ICATColumnNumber = 1000006
   164  	ICAT_COLUMN_REMOTE_ADDR ICATColumnNumber = 1000007
   165  	ICAT_COLUMN_PROG_NAME   ICATColumnNumber = 1000008
   166  	ICAT_COLUMN_SERVER_ADDR ICATColumnNumber = 1000009
   167  )