1: <?php
2: namespace cassandra;
3: 4: 5: 6: 7: 8:
9: include_once $GLOBALS['THRIFT_ROOT'].'/Thrift.php';
10:
11:
12: $GLOBALS['\cassandra\E_ConsistencyLevel'] = array(
13: 'ONE' => 1,
14: 'QUORUM' => 2,
15: 'LOCAL_QUORUM' => 3,
16: 'EACH_QUORUM' => 4,
17: 'ALL' => 5,
18: 'ANY' => 6,
19: 'TWO' => 7,
20: 'THREE' => 8,
21: );
22:
23: final class ConsistencyLevel {
24: const ONE = 1;
25: const QUORUM = 2;
26: const LOCAL_QUORUM = 3;
27: const EACH_QUORUM = 4;
28: const ALL = 5;
29: const ANY = 6;
30: const TWO = 7;
31: const THREE = 8;
32: static public $__names = array(
33: 1 => 'ONE',
34: 2 => 'QUORUM',
35: 3 => 'LOCAL_QUORUM',
36: 4 => 'EACH_QUORUM',
37: 5 => 'ALL',
38: 6 => 'ANY',
39: 7 => 'TWO',
40: 8 => 'THREE',
41: );
42: }
43:
44: $GLOBALS['\cassandra\E_IndexOperator'] = array(
45: 'EQ' => 0,
46: 'GTE' => 1,
47: 'GT' => 2,
48: 'LTE' => 3,
49: 'LT' => 4,
50: );
51:
52: final class IndexOperator {
53: const EQ = 0;
54: const GTE = 1;
55: const GT = 2;
56: const LTE = 3;
57: const LT = 4;
58: static public $__names = array(
59: 0 => 'EQ',
60: 1 => 'GTE',
61: 2 => 'GT',
62: 3 => 'LTE',
63: 4 => 'LT',
64: );
65: }
66:
67: $GLOBALS['\cassandra\E_IndexType'] = array(
68: 'KEYS' => 0,
69: 'CUSTOM' => 1,
70: );
71:
72: final class IndexType {
73: const KEYS = 0;
74: const CUSTOM = 1;
75: static public $__names = array(
76: 0 => 'KEYS',
77: 1 => 'CUSTOM',
78: );
79: }
80:
81: $GLOBALS['\cassandra\E_Compression'] = array(
82: 'GZIP' => 1,
83: 'NONE' => 2,
84: );
85:
86: final class Compression {
87: const GZIP = 1;
88: const NONE = 2;
89: static public $__names = array(
90: 1 => 'GZIP',
91: 2 => 'NONE',
92: );
93: }
94:
95: $GLOBALS['\cassandra\E_CqlResultType'] = array(
96: 'ROWS' => 1,
97: 'VOID' => 2,
98: 'INT' => 3,
99: );
100:
101: final class CqlResultType {
102: const ROWS = 1;
103: const VOID = 2;
104: const INT = 3;
105: static public $__names = array(
106: 1 => 'ROWS',
107: 2 => 'VOID',
108: 3 => 'INT',
109: );
110: }
111:
112: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\column'] = 'cassandra/cassandra.Column.php';
113: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\supercolumn'] = 'cassandra/cassandra.SuperColumn.php';
114: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\countercolumn'] = 'cassandra/cassandra.CounterColumn.php';
115: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\countersupercolumn'] = 'cassandra/cassandra.CounterSuperColumn.php';
116: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\columnorsupercolumn'] = 'cassandra/cassandra.ColumnOrSuperColumn.php';
117: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\notfoundexception'] = 'cassandra/cassandra.NotFoundException.php';
118: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\invalidrequestexception'] = 'cassandra/cassandra.InvalidRequestException.php';
119: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\unavailableexception'] = 'cassandra/cassandra.UnavailableException.php';
120: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\timedoutexception'] = 'cassandra/cassandra.TimedOutException.php';
121: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\authenticationexception'] = 'cassandra/cassandra.AuthenticationException.php';
122: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\authorizationexception'] = 'cassandra/cassandra.AuthorizationException.php';
123: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\schemadisagreementexception'] = 'cassandra/cassandra.SchemaDisagreementException.php';
124: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\columnparent'] = 'cassandra/cassandra.ColumnParent.php';
125: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\columnpath'] = 'cassandra/cassandra.ColumnPath.php';
126: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\slicerange'] = 'cassandra/cassandra.SliceRange.php';
127: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\slicepredicate'] = 'cassandra/cassandra.SlicePredicate.php';
128: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\indexexpression'] = 'cassandra/cassandra.IndexExpression.php';
129: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\indexclause'] = 'cassandra/cassandra.IndexClause.php';
130: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\keyrange'] = 'cassandra/cassandra.KeyRange.php';
131: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\keyslice'] = 'cassandra/cassandra.KeySlice.php';
132: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\keycount'] = 'cassandra/cassandra.KeyCount.php';
133: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\deletion'] = 'cassandra/cassandra.Deletion.php';
134: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\mutation'] = 'cassandra/cassandra.Mutation.php';
135: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\endpointdetails'] = 'cassandra/cassandra.EndpointDetails.php';
136: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\tokenrange'] = 'cassandra/cassandra.TokenRange.php';
137: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\authenticationrequest'] = 'cassandra/cassandra.AuthenticationRequest.php';
138: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\columndef'] = 'cassandra/cassandra.ColumnDef.php';
139: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cfdef'] = 'cassandra/cassandra.CfDef.php';
140: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\ksdef'] = 'cassandra/cassandra.KsDef.php';
141: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cqlrow'] = 'cassandra/cassandra.CqlRow.php';
142: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cqlmetadata'] = 'cassandra/cassandra.CqlMetadata.php';
143: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cqlresult'] = 'cassandra/cassandra.CqlResult.php';
144: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cqlpreparedresult'] = 'cassandra/cassandra.CqlPreparedResult.php';
145: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_login_args'] = 'cassandra/cassandra.Cassandra_login_args.php';
146: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_login_result'] = 'cassandra/cassandra.Cassandra_login_result.php';
147: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_set_keyspace_args'] = 'cassandra/cassandra.Cassandra_set_keyspace_args.php';
148: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_set_keyspace_result'] = 'cassandra/cassandra.Cassandra_set_keyspace_result.php';
149: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_get_args'] = 'cassandra/cassandra.Cassandra_get_args.php';
150: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_get_result'] = 'cassandra/cassandra.Cassandra_get_result.php';
151: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_get_slice_args'] = 'cassandra/cassandra.Cassandra_get_slice_args.php';
152: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_get_slice_result'] = 'cassandra/cassandra.Cassandra_get_slice_result.php';
153: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_get_count_args'] = 'cassandra/cassandra.Cassandra_get_count_args.php';
154: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_get_count_result'] = 'cassandra/cassandra.Cassandra_get_count_result.php';
155: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_multiget_slice_args'] = 'cassandra/cassandra.Cassandra_multiget_slice_args.php';
156: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_multiget_slice_result'] = 'cassandra/cassandra.Cassandra_multiget_slice_result.php';
157: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_multiget_count_args'] = 'cassandra/cassandra.Cassandra_multiget_count_args.php';
158: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_multiget_count_result'] = 'cassandra/cassandra.Cassandra_multiget_count_result.php';
159: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_get_range_slices_args'] = 'cassandra/cassandra.Cassandra_get_range_slices_args.php';
160: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_get_range_slices_result'] = 'cassandra/cassandra.Cassandra_get_range_slices_result.php';
161: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_get_paged_slice_args'] = 'cassandra/cassandra.Cassandra_get_paged_slice_args.php';
162: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_get_paged_slice_result'] = 'cassandra/cassandra.Cassandra_get_paged_slice_result.php';
163: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_get_indexed_slices_args'] = 'cassandra/cassandra.Cassandra_get_indexed_slices_args.php';
164: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_get_indexed_slices_result'] = 'cassandra/cassandra.Cassandra_get_indexed_slices_result.php';
165: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_insert_args'] = 'cassandra/cassandra.Cassandra_insert_args.php';
166: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_insert_result'] = 'cassandra/cassandra.Cassandra_insert_result.php';
167: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_add_args'] = 'cassandra/cassandra.Cassandra_add_args.php';
168: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_add_result'] = 'cassandra/cassandra.Cassandra_add_result.php';
169: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_remove_args'] = 'cassandra/cassandra.Cassandra_remove_args.php';
170: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_remove_result'] = 'cassandra/cassandra.Cassandra_remove_result.php';
171: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_remove_counter_args'] = 'cassandra/cassandra.Cassandra_remove_counter_args.php';
172: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_remove_counter_result'] = 'cassandra/cassandra.Cassandra_remove_counter_result.php';
173: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_batch_mutate_args'] = 'cassandra/cassandra.Cassandra_batch_mutate_args.php';
174: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_batch_mutate_result'] = 'cassandra/cassandra.Cassandra_batch_mutate_result.php';
175: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_truncate_args'] = 'cassandra/cassandra.Cassandra_truncate_args.php';
176: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_truncate_result'] = 'cassandra/cassandra.Cassandra_truncate_result.php';
177: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_describe_schema_versions_args'] = 'cassandra/cassandra.Cassandra_describe_schema_versions_args.php';
178: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_describe_schema_versions_result'] = 'cassandra/cassandra.Cassandra_describe_schema_versions_result.php';
179: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_describe_keyspaces_args'] = 'cassandra/cassandra.Cassandra_describe_keyspaces_args.php';
180: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_describe_keyspaces_result'] = 'cassandra/cassandra.Cassandra_describe_keyspaces_result.php';
181: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_describe_cluster_name_args'] = 'cassandra/cassandra.Cassandra_describe_cluster_name_args.php';
182: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_describe_cluster_name_result'] = 'cassandra/cassandra.Cassandra_describe_cluster_name_result.php';
183: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_describe_version_args'] = 'cassandra/cassandra.Cassandra_describe_version_args.php';
184: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_describe_version_result'] = 'cassandra/cassandra.Cassandra_describe_version_result.php';
185: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_describe_ring_args'] = 'cassandra/cassandra.Cassandra_describe_ring_args.php';
186: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_describe_ring_result'] = 'cassandra/cassandra.Cassandra_describe_ring_result.php';
187: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_describe_partitioner_args'] = 'cassandra/cassandra.Cassandra_describe_partitioner_args.php';
188: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_describe_partitioner_result'] = 'cassandra/cassandra.Cassandra_describe_partitioner_result.php';
189: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_describe_snitch_args'] = 'cassandra/cassandra.Cassandra_describe_snitch_args.php';
190: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_describe_snitch_result'] = 'cassandra/cassandra.Cassandra_describe_snitch_result.php';
191: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_describe_keyspace_args'] = 'cassandra/cassandra.Cassandra_describe_keyspace_args.php';
192: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_describe_keyspace_result'] = 'cassandra/cassandra.Cassandra_describe_keyspace_result.php';
193: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_describe_splits_args'] = 'cassandra/cassandra.Cassandra_describe_splits_args.php';
194: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_describe_splits_result'] = 'cassandra/cassandra.Cassandra_describe_splits_result.php';
195: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_system_add_column_family_args'] = 'cassandra/cassandra.Cassandra_system_add_column_family_args.php';
196: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_system_add_column_family_result'] = 'cassandra/cassandra.Cassandra_system_add_column_family_result.php';
197: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_system_drop_column_family_args'] = 'cassandra/cassandra.Cassandra_system_drop_column_family_args.php';
198: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_system_drop_column_family_result'] = 'cassandra/cassandra.Cassandra_system_drop_column_family_result.php';
199: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_system_add_keyspace_args'] = 'cassandra/cassandra.Cassandra_system_add_keyspace_args.php';
200: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_system_add_keyspace_result'] = 'cassandra/cassandra.Cassandra_system_add_keyspace_result.php';
201: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_system_drop_keyspace_args'] = 'cassandra/cassandra.Cassandra_system_drop_keyspace_args.php';
202: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_system_drop_keyspace_result'] = 'cassandra/cassandra.Cassandra_system_drop_keyspace_result.php';
203: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_system_update_keyspace_args'] = 'cassandra/cassandra.Cassandra_system_update_keyspace_args.php';
204: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_system_update_keyspace_result'] = 'cassandra/cassandra.Cassandra_system_update_keyspace_result.php';
205: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_system_update_column_family_args'] = 'cassandra/cassandra.Cassandra_system_update_column_family_args.php';
206: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_system_update_column_family_result'] = 'cassandra/cassandra.Cassandra_system_update_column_family_result.php';
207: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_execute_cql_query_args'] = 'cassandra/cassandra.Cassandra_execute_cql_query_args.php';
208: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_execute_cql_query_result'] = 'cassandra/cassandra.Cassandra_execute_cql_query_result.php';
209: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_prepare_cql_query_args'] = 'cassandra/cassandra.Cassandra_prepare_cql_query_args.php';
210: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_prepare_cql_query_result'] = 'cassandra/cassandra.Cassandra_prepare_cql_query_result.php';
211: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_execute_prepared_cql_query_args'] = 'cassandra/cassandra.Cassandra_execute_prepared_cql_query_args.php';
212: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_execute_prepared_cql_query_result'] = 'cassandra/cassandra.Cassandra_execute_prepared_cql_query_result.php';
213: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_set_cql_version_args'] = 'cassandra/cassandra.Cassandra_set_cql_version_args.php';
214: $GLOBALS['THRIFT_AUTOLOAD']['cassandra\cassandra_set_cql_version_result'] = 'cassandra/cassandra.Cassandra_set_cql_version_result.php';
215: ?>
216: